pkgsrc/security/libtcpa/patches/patch-aa
schmonz da3bb84f21 Respect CFLAGS and LDFLAGS. Fixes the case where the preferred
OpenSSL is in ${LOCALBASE} (e.g., PREFER_PKGSRC=openssl), as found
in Krister's bulk build. From jlam.
2004-02-25 05:02:26 +00:00

14 lines
439 B
Text

$NetBSD: patch-aa,v 1.3 2004/02/25 05:02:26 schmonz Exp $
--- examples/Makefile.orig Mon May 19 15:35:20 2003
+++ examples/Makefile
@@ -1,7 +1,5 @@
-AR = ar
-RM = rm
-CC = gcc -I../libtcpa -DTPMLOG=NULL
-LIBS = ../libtcpa/libtcpa.a -lcrypto
+CC = gcc -I../libtcpa -DTPMLOG=NULL ${CFLAGS}
+LIBS = ../libtcpa/libtcpa.a -lcrypto ${LDFLAGS}
all: tcpa_demo takeown createkey loadkey evictkey signfile \
verifyfile sealfile unsealfile