File vixie-cron-4.1-Makefile.diff of Package cron
Index: vixie-cron-4.1/Makefile
===================================================================
--- vixie-cron-4.1.orig/Makefile
+++ vixie-cron-4.1/Makefile
@@ -62,7 +62,7 @@ INCLUDE = -I.
LIBS =
#<<optimize or debug?>>
#CDEBUG = -O
-CDEBUG = -g
+CDEBUG = -O2 -pipe
#<<lint flags of choice?>>
LINTFLAGS = -hbxa $(INCLUDE) $(DEBUGGING)
#<<want to use a nonstandard CC?>>
@@ -75,7 +75,7 @@ DEFS =
#INSTALL = installbsd
INSTALL = install
#<<any special load flags>>
-LDFLAGS =
+LDFLAGS = -Wl,-warn-common
#################################### end configurable stuff
SHELL = /bin/sh
@@ -110,13 +110,13 @@ crontab : $(CRONTAB_OBJ)
$(CC) $(LDFLAGS) -o crontab $(CRONTAB_OBJ) $(LIBS)
install : all
- $(INSTALL) -c -m 111 -o root -s cron $(DESTSBIN)/
- $(INSTALL) -c -m 4111 -o root -s crontab $(DESTBIN)/
-# $(INSTALL) -c -m 111 -o root -g crontab -s cron $(DESTSBIN)/
-# $(INSTALL) -c -m 2111 -o root -g crontab -s crontab $(DESTBIN)/
- sh putman.sh crontab.1 $(DESTMAN)
- sh putman.sh cron.8 $(DESTMAN)
- sh putman.sh crontab.5 $(DESTMAN)
+ $(INSTALL) -c -m0755 cron $(DESTSBIN)/
+ $(INSTALL) -c -m0750 crontab $(DESTBIN)/
+# $(INSTALL) -c -m 111 -o root -g crontab cron $(DESTSBIN)/
+# $(INSTALL) -c -m 2111 -o root -g crontab crontab $(DESTBIN)/
+ install -m644 crontab.1 $(DESTMAN)/man1
+ install -m644 cron.8 $(DESTMAN)/man8
+ install -m644 crontab.5 $(DESTMAN)/man5
distclean : clean
rm -f *.orig *.rej *.BAK *.CKP *~ #*