diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-03-17 22:33:02 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-03-17 22:33:02 +0000 |
commit | a6e2f6dc33755d68e02d4ea6c0cf82070f5cca5d (patch) | |
tree | 4da6e67b291d4fa73a8a4dea4c44db3474c3303b /sysutils/mcron | |
parent | 9bde01fc08567f4d06a3c0d963c77dffb166c3e5 (diff) | |
download | ports-a6e2f6dc33755d68e02d4ea6c0cf82070f5cca5d.tar.gz ports-a6e2f6dc33755d68e02d4ea6c0cf82070f5cca5d.zip |
Fix installation by avoiding GNU install longopts.
Submitted by: ache
Notes
Notes:
svn path=/head/; revision=104333
Diffstat (limited to 'sysutils/mcron')
-rw-r--r-- | sysutils/mcron/Makefile | 8 | ||||
-rw-r--r-- | sysutils/mcron/files/patch-makefile.in | 14 |
2 files changed, 15 insertions, 7 deletions
diff --git a/sysutils/mcron/Makefile b/sysutils/mcron/Makefile index 937951f0d834..23c17820c980 100644 --- a/sysutils/mcron/Makefile +++ b/sysutils/mcron/Makefile @@ -22,10 +22,4 @@ MAKEFILE= makefile INFO= mcron -.include <bsd.port.pre.mk> - -.if ${OSVERSION} > 502103 -BROKEN= "Does not install on FreeBSD >= 5.x" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/sysutils/mcron/files/patch-makefile.in b/sysutils/mcron/files/patch-makefile.in new file mode 100644 index 000000000000..df41413caec9 --- /dev/null +++ b/sysutils/mcron/files/patch-makefile.in @@ -0,0 +1,14 @@ +--- makefile.in.bak Fri Dec 12 00:53:35 2003 ++++ makefile.in Wed Mar 17 17:10:28 2004 +@@ -693,9 +693,9 @@ + + install-exec-hook: + rm -f $(fpp)cron$(EXEEXT) > /dev/null 2>&1 +- $(INSTALL) --mode='u=rwx' mcron$(EXEEXT) $(fpp)cron$(EXEEXT) ++ $(INSTALL) -m 'u=rwx' mcron$(EXEEXT) $(fpp)cron$(EXEEXT) + rm -f $(fpp)crontab$(EXEEXT) > /dev/null 2>&1 +- $(INSTALL) --mode='u=rwxs,og=rx' mcron$(EXEEXT) $(fpp)crontab$(EXEEXT) ++ $(INSTALL) -m 'u=rwxs,og=rx' mcron$(EXEEXT) $(fpp)crontab$(EXEEXT) + ./mkinstalldirs -m 'u=rwx' /var/cron + ./mkinstalldirs -m 'u=rwx,og=rx' /var/run + ./mkinstalldirs -m 'u=rwx,og=rx' @GUILE_SITE@ |