aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>1999-04-16 10:39:44 +0000
committerKris Kennaway <kris@FreeBSD.org>1999-04-16 10:39:44 +0000
commit47d186cd6e9f38a0ac6273ec8b7c36aad7163e23 (patch)
tree5fd48aa224b85c419a114d9ed56e712f5a21b009 /security
parent195f92b2500548a1a4f2763f57d254c48694ac6d (diff)
downloadports-47d186cd6e9f38a0ac6273ec8b7c36aad7163e23.tar.gz
ports-47d186cd6e9f38a0ac6273ec8b7c36aad7163e23.zip
Respect CC and CFLAGS
Notes
Notes: svn path=/head/; revision=17922
Diffstat (limited to 'security')
-rw-r--r--security/portsentry/files/patch-aa17
1 files changed, 12 insertions, 5 deletions
diff --git a/security/portsentry/files/patch-aa b/security/portsentry/files/patch-aa
index dae4bd188ea8..78b3e16ee831 100644
--- a/security/portsentry/files/patch-aa
+++ b/security/portsentry/files/patch-aa
@@ -1,11 +1,18 @@
---- Makefile.orig Thu May 28 22:24:11 1998
-+++ Makefile Thu Jan 21 05:57:29 1999
-@@ -25,13 +25,13 @@
+--- Makefile.orig Thu May 28 22:54:11 1998
++++ Makefile Sun Apr 11 20:09:52 1999
+@@ -20,18 +20,19 @@
+ #
+
+ # Generic compiler
+-CC = cc
++CC ?= cc
+ # GNU..
#CC = gcc
# Normal systems flags
-CFLAGS = -O
-+CFLAGS+= -O -DPREFIX=\"${PREFIX}\"
++CFLAGS ?= -O
++CFLAGS += -DPREFIX=\"${PREFIX}\"
# Debug mode for sentry
#CFLAGS = -Wall -g -DDEBUG
@@ -16,7 +23,7 @@
all:
-@@ -54,21 +54,16 @@
+@@ -54,21 +55,16 @@
/bin/rmdir $(INSTALLDIR)
install: