aboutsummaryrefslogtreecommitdiff
path: root/security/pgpin
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2011-06-24 17:46:36 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2011-06-24 17:46:36 +0000
commit67c4281970da3c3dc55c4b0e12b9e9cb700e43d0 (patch)
tree357ffdeb227bea8968b972cbea7c999aca68d7db /security/pgpin
parentde77fc3ee41691df04969ca491414a7e3cdc6c02 (diff)
downloadports-67c4281970da3c3dc55c4b0e12b9e9cb700e43d0.tar.gz
ports-67c4281970da3c3dc55c4b0e12b9e9cb700e43d0.zip
- honor CC,CFLAGS,LD,LDFLAGS
Notes
Notes: svn path=/head/; revision=276205
Diffstat (limited to 'security/pgpin')
-rw-r--r--security/pgpin/distinfo1
-rw-r--r--security/pgpin/files/patch-makefile23
2 files changed, 22 insertions, 2 deletions
diff --git a/security/pgpin/distinfo b/security/pgpin/distinfo
index c536ad8dbfb5..1ce620b2894c 100644
--- a/security/pgpin/distinfo
+++ b/security/pgpin/distinfo
@@ -1,3 +1,2 @@
-MD5 (pgp263in010323.tgz) = b8a30328c1d3f2e40516e78ab1bdc3b2
SHA256 (pgp263in010323.tgz) = a2abfb1f196ba40b6990c9a97a3dba5e540697f8a217a8b9907ecbc712ccf48a
SIZE (pgp263in010323.tgz) = 624606
diff --git a/security/pgpin/files/patch-makefile b/security/pgpin/files/patch-makefile
index c018728229ee..ec87603bc109 100644
--- a/security/pgpin/files/patch-makefile
+++ b/security/pgpin/files/patch-makefile
@@ -1,5 +1,26 @@
--- makefile.orig 2001-03-23 11:44:58.000000000 +0100
-+++ makefile 2010-03-18 16:58:27.000000000 +0100
++++ makefile 2011-06-24 19:39:57.000000000 +0200
+@@ -50,15 +50,15 @@
+ # -DUSE_SELECT to use select() system call
+ # -DUSE_NBIO to use non-blocking read()
+
+-CFLAGS= -O -DUNIX -DPORTABLE $(BYTEORDER)
++CFLAGS+= -O -DUNIX -DPORTABLE $(BYTEORDER)
+
+ # 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 +79,8 @@
@echo "where <system> can be:"
@echo " 386bsd, 3b1, 3b1_asm, aix370, aix386, amix-68k-gcc, apollo,"