aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2007-07-27 23:19:01 +0800
committerlofi <lofi@FreeBSD.org>2007-07-27 23:19:01 +0800
commitc3df5deb5579c9b0337de14ca0fc20eb4c4f48b5 (patch)
tree173f6bdef8cb18b17e2ddaf1d70af4a37439cec5 /security
parent45db6842ea42b4474fe8377c5f5502b5fad5a1de (diff)
downloadfreebsd-ports-gnome-c3df5deb5579c9b0337de14ca0fc20eb4c4f48b5.tar.gz
freebsd-ports-gnome-c3df5deb5579c9b0337de14ca0fc20eb4c4f48b5.tar.zst
freebsd-ports-gnome-c3df5deb5579c9b0337de14ca0fc20eb4c4f48b5.zip
-fPIC on amd64.
Diffstat (limited to 'security')
-rw-r--r--security/libassuan/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/libassuan/Makefile b/security/libassuan/Makefile
index 35523191cd30..e48c54c767f7 100644
--- a/security/libassuan/Makefile
+++ b/security/libassuan/Makefile
@@ -22,4 +22,10 @@ INFO= assuan
CFLAGS+= -I${LOCALBASE}/include/pth
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
+.include <bsd.port.post.mk>