diff options
author | Bruce M Simpson <bms@FreeBSD.org> | 2003-09-29 00:05:14 +0000 |
---|---|---|
committer | Bruce M Simpson <bms@FreeBSD.org> | 2003-09-29 00:05:14 +0000 |
commit | 9c94da82a8e41ea42a2e574616b867d8850eb4b5 (patch) | |
tree | 66592d94a98bc4713fcbcd8e25e2ac87b6cc410a /security/libsectok/files/patch-Makefile | |
parent | a5b076053ebbcdb7ec73c600dcdc88dc90c30fb0 (diff) |
Notes
Diffstat (limited to 'security/libsectok/files/patch-Makefile')
-rw-r--r-- | security/libsectok/files/patch-Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/security/libsectok/files/patch-Makefile b/security/libsectok/files/patch-Makefile new file mode 100644 index 000000000000..42a45b03cb86 --- /dev/null +++ b/security/libsectok/files/patch-Makefile @@ -0,0 +1,24 @@ +--- Makefile.orig Thu Jan 3 20:26:00 2002 ++++ Makefile Fri Aug 23 13:12:59 2002 +@@ -1,10 +1,10 @@ + VERSION= 3.1 + 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 input.c r1r2.c readers.c sc7816.c sectok.c +@@ -47,6 +47,8 @@ + install : + $(INSTALL) -m 755 sectok.h $(PREFIX)/include + $(INSTALL) -m 755 $(TARGETS) $(PREFIX)/lib ++ ln -s $(PREFIX)/lib/libsectok.so.${VERSION} $(PREFIX)/lib/libsectok.so.3 ++ $(INSTALL) -m 644 sectok.3 $(PREFIX)/man/man3 + + release : + rm -rf $(RELEASE) |