From 9911dc8130eb4380d75ca78bb8038570eaf4e1ea Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Fri, 24 Jun 2011 17:59:20 +0000 Subject: - honor CC,CFLAGS,LD,LDFLAGS --- security/pgp/files/patch-aa | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'security/pgp/files/patch-aa') diff --git a/security/pgp/files/patch-aa b/security/pgp/files/patch-aa index 7b1b4fe2d972..0c2ce188ef15 100644 --- a/security/pgp/files/patch-aa +++ b/security/pgp/files/patch-aa @@ -1,15 +1,27 @@ ---- makefile 1996-01-18 04:42:36.000000000 -0600 -+++ makefile.patched 2008-09-12 01:55:27.000000000 -0500 -@@ -50,7 +50,8 @@ +--- makefile.orig 1996-01-18 11:42:36.000000000 +0100 ++++ makefile 2011-06-24 19:56:53.000000000 +0200 +@@ -50,15 +50,16 @@ # -DUSE_SELECT to use select() system call # -DUSE_NBIO to use non-blocking read() -CFLAGS= -O -DUNIX -DPORTABLE $(BYTEORDER) +PREFIX ?=/usr/local -+CFLAGS= -O -DUNIX -DPORTABLE $(BYTEORDER) -DPREFIX=\"$(PREFIX)\" ++CFLAGS+= -O -DUNIX -DPORTABLE $(BYTEORDER) -DPREFIX=\"$(PREFIX)\" # must set byte order for targets "sysv" and "bsd" # BYTEORDER= -DHIGHFIRST + +-CC = cc +-LD = cc # Link command +-LDFLAGS = +-CPP = $(CC) -E ++CC ?= cc ++LD ?= cc # Link command ++LDFLAGS ?= ++CPP ?= $(CC) -E + DBG = -O + RM = rm -f + @@ -79,7 +80,7 @@ @echo "where can be:" @echo " 386bsd, 3b1, 3b1_asm, aix370, aix386, amix-68k-gcc, apollo," -- cgit v1.2.3