freebsd-ports/security/libsectok/files/patch-Makefile
Bruce M Simpson 7d44797014 Fix package.
2005-01-14 13:05:30 +00:00

16 lines
533 B
Text

--- Makefile.orig Thu Jun 19 22:02:19 2003
+++ Makefile Fri Jan 14 12:58:03 2005
@@ -1,10 +1,10 @@
-VERSION= 3.1
+VERSION= 3
TARGETS= libsectok.a libsectok.so.$(VERSION)
-PREFIX= /usr/local
+PREFIX?= /usr/local
# You might have to add -I/usr/include/openssl to CFLAGS
CFLAGS= -g -Wall -DDL_READERS
-LDFLAGS= -x -Bshareable -Bforcearchive -shared
+LDFLAGS= -shared -x --whole-archive
# You may have to add getopt.c to SRC if your getopt doesn't have optreset
SRC= atr.c cmdtab.c cyberflex.c ifdwrapper.c input.c r1r2.c \