summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-03-23 14:24:42 +0000
committerClement Laforet <clement@FreeBSD.org>2004-03-23 14:24:42 +0000
commit0d9fa6a1c48110a846f5fb268fffe3cbe641540e (patch)
tree0645dab25d94fa9cfbad3aed6bec417f5a5411c3 /security
parentAdd p5-Data-Dump 1.02, pretty printing of data structures. (diff)
- backout -fPIC related wrong commits
I spend most of my night looking for a nice solution. I found one very crappy, I'll dig into this later.
Notes
Notes: svn path=/head/; revision=105049
Diffstat (limited to 'security')
-rw-r--r--security/opensc-esteid/Makefile7
-rw-r--r--security/opensc-esteid/files/patch-aa11
2 files changed, 6 insertions, 12 deletions
diff --git a/security/opensc-esteid/Makefile b/security/opensc-esteid/Makefile
index 1170290c3789..64a7ec5107b7 100644
--- a/security/opensc-esteid/Makefile
+++ b/security/opensc-esteid/Makefile
@@ -34,5 +34,10 @@ MAN1= pkcs15-crypt.1 pkcs15-init.1 pkcs15-tool.1 \
opensc-config.1 opensc-explorer.1 opensc-tool.1
MAN5= pkcs15-profile.5
MAN7= pkcs15.7 opensc.7
+.include <bsd.port.pre.mk>
-.include <bsd.port.mk>
+.if ${ARCH} == "amd64"
+BROKEN= "Does not compile on amd64 (missing -fPIC)"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/opensc-esteid/files/patch-aa b/security/opensc-esteid/files/patch-aa
deleted file mode 100644
index bf1c580d5e73..000000000000
--- a/security/opensc-esteid/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/scrandom/Makefile.in.orig Mon Mar 22 21:43:38 2004
-+++ src/scrandom/Makefile.in Mon Mar 22 21:44:10 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)
-