From eedce594586d919126ce85e5893f07beb68d4024 Mon Sep 17 00:00:00 2001 From: Masafumi Max NAKANE Date: Wed, 20 Jan 1999 21:04:29 +0000 Subject: Modify this patch to change the distributed Makefile to: * Let the install target print correct location of the conf file. * Use CFLAGS+= instead of commenting it out. * Add -DPREFIX="${PREFIX}" to the CFLAGS. --- security/portsentry/files/patch-aa | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'security') diff --git a/security/portsentry/files/patch-aa b/security/portsentry/files/patch-aa index c60544fbe462..e810065f8833 100644 --- a/security/portsentry/files/patch-aa +++ b/security/portsentry/files/patch-aa @@ -1,11 +1,11 @@ ---- Makefile.orig Thu May 28 09:24:11 1998 -+++ Makefile Sat Dec 19 11:10:10 1998 +--- Makefile.orig Thu May 28 22:24:11 1998 ++++ Makefile Thu Jan 21 05:57:29 1999 @@ -25,13 +25,13 @@ #CC = gcc # Normal systems flags -CFLAGS = -O -+#CFLAGS = -O ++CFLAGS+= -O -DPREFIX="${PREFIX}" # Debug mode for sentry #CFLAGS = -Wall -g -DDEBUG @@ -16,7 +16,7 @@ all: -@@ -54,18 +54,13 @@ +@@ -54,21 +54,16 @@ /bin/rmdir $(INSTALLDIR) install: @@ -40,4 +40,8 @@ + chmod 700 $(INSTALLDIR)/bin/sentry @echo "" @echo "" - @echo "Edit $(INSTALLDIR)/sentry.conf and change" +- @echo "Edit $(INSTALLDIR)/sentry.conf and change" ++ @echo "Edit $(INSTALLDIR)/etc/sentry.conf and change" + @echo "your settings if you haven't already. (route, etc)" + @echo "" + @echo "" -- cgit v1.2.3