freebsd-ports/sysutils/doinkd/files/patch-aa
Chris D. Faulhaber ad2dd30443 Don't unnecessarily install files group-writable
Approved by:	maintainer
2001-01-21 01:17:42 +00:00

106 lines
2.7 KiB
Plaintext

--- Makefile.orig Thu May 16 18:05:28 1996
+++ Makefile Sat Jan 20 16:22:59 2001
@@ -2,8 +2,8 @@
#
# C compiler flags
-CC = cc
-RM = rm
+CC ?= cc
+RM ?= rm
INCLUDE =
######################################################################
@@ -166,26 +166,26 @@
# You will need to delete parse.c before compiling! You can either
# do so by hand, or do a 'make clean' followed by the normal 'make'.
#DEFS += -O -m486
-#DEFS += -DBSD_OS2 -DHAVE_SETSID -DHAVE_YYRESTART -DPS_HACK
+DEFS += -DBSD_OS2 -DHAVE_SETSID -DHAVE_YYRESTART -DPS_HACK
#DEFS += -DPROC_SEARCH_1
#SPECLIBS = -lkvm
-#INSTTYPE = install1a
+INSTTYPE = install1a
#
-#DEST = /usr/local/libexec
-#CFDEST = /usr/local/libexec
-#MDEST = /usr/local/man
-#LOGDEST = /var/log
+DEST = ${PREFIX}/libexec
+CFDEST = ${PREFIX}/etc
+MDEST = ${PREFIX}/man
+LOGDEST = /var/log
#
-#OWNER = root
-#CFOWNER = root
-#MOWNER = man
+OWNER = root
+CFOWNER = root
+MOWNER = man
#
-#GROUP = daemon
-#CFGROUP = daemon
+GROUP = daemon
+CFGROUP = daemon
#
-#MODE = 750
-#CFMODE = 664
-#MMODE = 444
+MODE = 750
+CFMODE = 644
+MMODE = 444
######################################################################
######################################################################
@@ -215,25 +215,25 @@
# SVR4 -- Solaris 2.x
# Use install3 for /usr/sbin/install
# and install1 for /usr/ucb/install
-DEFS += -DSYSV -DHAVE_PROC_FS -DUTMPPID -DHAVE_SETSID -DHAVE_UTMPX -DUTMPHOST -DRUDEKILL
-SPECLIBS =
-INSTTYPE = install3
-
-DEST = /usr/local/bin
-CFDEST = /usr/local/lib
-MDEST = /usr/local/man
-LOGDEST = /var/log
+#DEFS += -DSYSV -DHAVE_PROC_FS -DUTMPPID -DHAVE_SETSID -DHAVE_UTMPX -DUTMPHOST -DRUDEKILL
+#SPECLIBS =
+#INSTTYPE = install3
-OWNER = root
-CFOWNER = root
-MOWNER = root
+#DEST = /usr/local/bin
+#CFDEST = /usr/local/lib
+#MDEST = /usr/local/man
+#LOGDEST = /var/log
+
+#OWNER = root
+#CFOWNER = root
+#MOWNER = root
-GROUP = root
-CFGROUP = root
+#GROUP = root
+#CFGROUP = root
-MODE = 750
-CFMODE = 664
-MMODE = 644
+#MODE = 750
+#CFMODE = 664
+#MMODE = 644
######################################################################
######################################################################
@@ -428,7 +428,7 @@
# HERE are the big CFLAGS
# Add -g if you want debugging
# Add -O or whatever variant for optimization
-CFLAGS = ${DEFS} ${DEBUG} -DCONFIG=\"${CONFIG}\" -DLOGFILE=\"${LOGFILE}\" ${INCLUDE}
+CFLAGS+= ${DEFS} ${DEBUG} -DCONFIG=\"${CONFIG}\" -DLOGFILE=\"${LOGFILE}\" ${INCLUDE}
# For HP's ANSI C compiler (use -g instead of +O3 for debugging)
# CFLAGS = +O3 -Aa -D_HPUX_SOURCE ${DEFS} ${DEBUG} -DCONFIG=\"${CONFIG}\" -DLOGFILE=\"${LOGFILE}\" ${INCLUDE}