diff options
Diffstat (limited to 'security/krb4/Makefile')
-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> |