aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2004-02-23 21:23:58 +0800
committernectar <nectar@FreeBSD.org>2004-02-23 21:23:58 +0800
commit488b28acc69d8466ec1a37e9b9b40db4b358a181 (patch)
tree91a656f47f9d779bb722b2ce4bdeb2ae935c3d57 /security
parent0af1f95e2596fdf34cf4c9ba4188d38bfc0c51b1 (diff)
downloadfreebsd-ports-gnome-488b28acc69d8466ec1a37e9b9b40db4b358a181.tar.gz
freebsd-ports-gnome-488b28acc69d8466ec1a37e9b9b40db4b358a181.tar.zst
freebsd-ports-gnome-488b28acc69d8466ec1a37e9b9b40db4b358a181.zip
On amd64, include -fPIC in CFLAGS.
PR: ports/63199 Reported by: Hendrik Scholz <hendrik@scholz.net>
Diffstat (limited to 'security')
-rw-r--r--security/heimdal/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile
index bf13438c4535..8f7b09cc96ad 100644
--- a/security/heimdal/Makefile
+++ b/security/heimdal/Makefile
@@ -89,4 +89,8 @@ post-install:
${SED} 's;%%PREFIX%%;${PREFIX};g' ${FILESDIR}/kdc.sh > \
${PREFIX}/etc/rc.d/kdc.sh.sample
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
+.include <bsd.port.post.mk>