summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-17 22:33:02 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-17 22:33:02 +0000
commita6e2f6dc33755d68e02d4ea6c0cf82070f5cca5d (patch)
tree4da6e67b291d4fa73a8a4dea4c44db3474c3303b
parentRemove duplicate entries again. (diff)
Fix installation by avoiding GNU install longopts.
Submitted by: ache
Notes
Notes: svn path=/head/; revision=104333
-rw-r--r--sysutils/mcron/Makefile8
-rw-r--r--sysutils/mcron/files/patch-makefile.in14
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@