aboutsummaryrefslogtreecommitdiffstats
path: root/security/krb5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/krb5/Makefile')
-rw-r--r--security/krb5/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/security/krb5/Makefile b/security/krb5/Makefile
index 82b7ecfa45de..6abb738ead81 100644
--- a/security/krb5/Makefile
+++ b/security/krb5/Makefile
@@ -29,7 +29,8 @@ GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS?= --enable-shared --enable-static
CONFIGURE_ARGS+= --disable-thread-support
-CONFIGURE_ENV= INSTALL="${INSTALL}" YACC=/usr/bin/yacc
+CONFIGURE_ENV= INSTALL="${INSTALL}" YACC=/usr/bin/yacc \
+ CFLAGS="${CFLAGS}"
MAKE_ARGS= INSTALL="${INSTALL}"
KRB5_KRB4_COMPAT?= NO
@@ -71,12 +72,6 @@ HTML_OUTDIRS= krb5-admin krb5-install
.include <bsd.port.pre.mk>
-.if ${ARCH} == "sparc64"
-CONFIGURE_ENV+= CFLAGS="-fPIC ${CFLAGS}"
-.else
-CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
-.endif
-
post-extract:
@${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz
@${RM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz.asc