diff options
author | nectar <nectar@FreeBSD.org> | 2004-02-23 22:03:37 +0800 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2004-02-23 22:03:37 +0800 |
commit | fc0f54d89d7c754687ffb770a323f289b5881647 (patch) | |
tree | 5d3b18d8f4b81d1deae8a09e1a0b0b4995ac50f2 /security/krb4 | |
parent | 8ef883d51728485a37ba13505dba9b5c04ed5db5 (diff) | |
download | freebsd-ports-gnome-fc0f54d89d7c754687ffb770a323f289b5881647.tar.gz freebsd-ports-gnome-fc0f54d89d7c754687ffb770a323f289b5881647.tar.zst freebsd-ports-gnome-fc0f54d89d7c754687ffb770a323f289b5881647.zip |
On amd64, include -fPIC in CFLAGS.
PR: ports/63200
Reported by: Hendrik Scholz <hendrik@scholz.net>
Diffstat (limited to 'security/krb4')
-rw-r--r-- | security/krb4/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/security/krb4/Makefile b/security/krb4/Makefile index 78616edb0c97..26a6ba935d0b 100644 --- a/security/krb4/Makefile +++ b/security/krb4/Makefile @@ -27,6 +27,7 @@ CONFIGURE_ARGS+= \ --disable-afs-support \ --without-x CONFIGURE_ENV+= \ + "CFLAGS=${CFLAGS}" \ "CPPFLAGS=-DOPENSSL_DES_LIBDES_COMPATIBILITY" \ "LDFLAGS=-Wl,-rpath,${PREFIX}/lib" @@ -45,4 +46,8 @@ setuids: .endfor .include "Makefile.man" -.include <bsd.port.mk> +.include <bsd.port.pre.mk> +.if ${ARCH} == "amd64" +CFLAGS+= -fPIC +.endif +.include <bsd.port.post.mk> |