freebsd-ports/sysutils/mcron/files/patch-makefile.in
Marcus Alves Grando 71bd3e9d5b - Update to 1.0.2
- Update WWW
- Take maintainership
- portlint(1)

PR:		97560
Submitted by:	Stefan Pauly <stefan___fh-mainz.de>
2006-06-11 21:24:33 +00:00

18 lines
905 B
Text

--- makefile.in.orig Mon Jan 2 13:09:32 2006
+++ makefile.in Sun Jun 11 18:21:07 2006
@@ -772,13 +772,11 @@
install-exec-hook:
@if [ "`id -u`" -eq "0" ]; 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); \
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@; \
- ./mkinstalldirs -m 'u=rwx,og=rx' @GUILE_SITE@/mcron; \
else \
echo "+++ WARNING: NON-ROOT INSTALL: ONLY mcron WILL BE INSTALLED, NOT ANY OF THE VIXIE REPLACEMENT PROGRAMS"; \
fi