summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-03-22 21:29:42 +0000
committerClement Laforet <clement@FreeBSD.org>2004-03-22 21:29:42 +0000
commit6b619625eab69704d4fe6996c1cb4eb4f21e0af5 (patch)
tree46b7bcbd49b4716ce4aa83ec992114d7e21b3907
parentBROKEN: Unfetchable (diff)
Set -fPIC in the correct way.
Maintainer informed. Reminded by: kris No cookie for: me
Notes
Notes: svn path=/head/; revision=104984
-rw-r--r--security/opensc-esteid/Makefile2
-rw-r--r--security/opensc-esteid/files/patch-aa11
2 files changed, 11 insertions, 2 deletions
diff --git a/security/opensc-esteid/Makefile b/security/opensc-esteid/Makefile
index f906287be389..1170290c3789 100644
--- a/security/opensc-esteid/Makefile
+++ b/security/opensc-esteid/Makefile
@@ -35,6 +35,4 @@ MAN1= pkcs15-crypt.1 pkcs15-init.1 pkcs15-tool.1 \
MAN5= pkcs15-profile.5
MAN7= pkcs15.7 opensc.7
-CFLAGS+= -fPIC
-
.include <bsd.port.mk>
diff --git a/security/opensc-esteid/files/patch-aa b/security/opensc-esteid/files/patch-aa
new file mode 100644
index 000000000000..1aabf5a9ce39
--- /dev/null
+++ b/security/opensc-esteid/files/patch-aa
@@ -0,0 +1,11 @@
+--- src/scrandom/Makefile.in.orig Sat Jan 31 06:36:49 2004
++++ src/scrandom/Makefile.in Sat Jan 31 06:37:20 2004
+@@ -157,7 +157,7 @@
+ CCLD = $(CC)
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -fPIC
+ DIST_SOURCES = $(libscrandom_a_SOURCES) $(test_random_SOURCES)
+ HEADERS = $(include_HEADERS)
+