diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-24 00:07:57 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-24 00:07:57 +0800 |
commit | 59c1d478b18c62cf7a7f32fde097ce0681cefa77 (patch) | |
tree | 93c79da9ccbed2927f95463898a51f80d22a0269 /sysutils | |
parent | c02a19c692d423ba28386c6737b0625afbb260f6 (diff) | |
download | freebsd-ports-gnome-59c1d478b18c62cf7a7f32fde097ce0681cefa77.tar.gz freebsd-ports-gnome-59c1d478b18c62cf7a7f32fde097ce0681cefa77.tar.zst freebsd-ports-gnome-59c1d478b18c62cf7a7f32fde097ce0681cefa77.zip |
- Fix build as non-root
Approved by: portmgr blanket
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/mcron/files/patch-makefile.in | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sysutils/mcron/files/patch-makefile.in b/sysutils/mcron/files/patch-makefile.in index cafc622dfed5..b4b260c6d349 100644 --- a/sysutils/mcron/files/patch-makefile.in +++ b/sysutils/mcron/files/patch-makefile.in @@ -1,8 +1,11 @@ ---- makefile.in.orig 2014-05-25 16:09:53.000000000 +0200 -+++ makefile.in 2014-05-27 21:30:53.000000000 +0200 -@@ -1215,13 +1215,13 @@ mcron.c : scm/mcron/main.scm scm/mcron/c +--- makefile.in.orig 2014-05-25 14:09:53 UTC ++++ makefile.in +@@ -1213,15 +1213,15 @@ mcron.c : scm/mcron/main.scm scm/mcron/c + @rm -f mcron.escaped.scm > /dev/null 2>&1 + install-exec-hook: - @if [ "x@NO_VIXIE_CLOBBER@" != "xyes" -a "`id -u`" -eq "0" ]; then \ +- @if [ "x@NO_VIXIE_CLOBBER@" != "xyes" -a "`id -u`" -eq "0" ]; then \ ++ @if [ "x@NO_VIXIE_CLOBBER@" != "xyes" ]; then \ 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); \ |