From 58610726f8910ed7cb9a420a5910c5a50c1d9530 Mon Sep 17 00:00:00 2001 From: kris Date: Fri, 16 Apr 1999 10:39:44 +0000 Subject: Respect CC and CFLAGS --- security/portsentry/files/patch-aa | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'security') 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: -- cgit