diff options
author | dinoex <dinoex@FreeBSD.org> | 2011-06-25 01:59:20 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2011-06-25 01:59:20 +0800 |
commit | 8324bea6b51c7dfd306c0ca2dfae1796e133c0d6 (patch) | |
tree | 09b74567f35d3738657415a6c2a4b12dc32913f7 /security | |
parent | c649a41cf369755f8b543ecdbd23a1ba83972352 (diff) | |
download | freebsd-ports-gnome-8324bea6b51c7dfd306c0ca2dfae1796e133c0d6.tar.gz freebsd-ports-gnome-8324bea6b51c7dfd306c0ca2dfae1796e133c0d6.tar.zst freebsd-ports-gnome-8324bea6b51c7dfd306c0ca2dfae1796e133c0d6.zip |
- honor CC,CFLAGS,LD,LDFLAGS
Diffstat (limited to 'security')
-rw-r--r-- | security/pgp/files/patch-aa | 20 |
1 files changed, 16 insertions, 4 deletions
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 <system> can be:" @echo " 386bsd, 3b1, 3b1_asm, aix370, aix386, amix-68k-gcc, apollo," |