aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1999-01-21 05:04:29 +0800
committermax <max@FreeBSD.org>1999-01-21 05:04:29 +0800
commitf0162c6ae3f13893e4289c1501643df354a22daa (patch)
tree63748d4ea0fbcb9327f0d6a17b8024f5fb401e1c /security
parent46e7737581fdc576ad867f1570a65dda8aa3b467 (diff)
downloadfreebsd-ports-gnome-f0162c6ae3f13893e4289c1501643df354a22daa.tar.gz
freebsd-ports-gnome-f0162c6ae3f13893e4289c1501643df354a22daa.tar.zst
freebsd-ports-gnome-f0162c6ae3f13893e4289c1501643df354a22daa.zip
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.
Diffstat (limited to 'security')
-rw-r--r--security/portsentry/files/patch-aa14
1 files changed, 9 insertions, 5 deletions
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 ""