diff options
author | Cy Schubert <cy@FreeBSD.org> | 2005-11-23 21:57:18 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2005-11-23 21:57:18 +0000 |
commit | e855b7b162fd45b3f72653163690d9ddd6b4ecc0 (patch) | |
tree | bf0aa4c97a7b6a158687a1845ec7f6d698907eaf /security/krb5-appl | |
parent | 0410bfa97be406f17735071ff63c298613a8627f (diff) | |
download | ports-e855b7b162fd45b3f72653163690d9ddd6b4ecc0.tar.gz ports-e855b7b162fd45b3f72653163690d9ddd6b4ecc0.zip |
Fix the Sparc 64 build.
Notes
Notes:
svn path=/head/; revision=149212
Diffstat (limited to 'security/krb5-appl')
-rw-r--r-- | security/krb5-appl/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/security/krb5-appl/Makefile b/security/krb5-appl/Makefile index 3ca2227fe5cd..82b7ecfa45de 100644 --- a/security/krb5-appl/Makefile +++ b/security/krb5-appl/Makefile @@ -29,8 +29,7 @@ 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 \ - CFLAGS="${CFLAGS}" +CONFIGURE_ENV= INSTALL="${INSTALL}" YACC=/usr/bin/yacc MAKE_ARGS= INSTALL="${INSTALL}" KRB5_KRB4_COMPAT?= NO @@ -73,8 +72,11 @@ HTML_OUTDIRS= krb5-admin krb5-install .include <bsd.port.pre.mk> .if ${ARCH} == "sparc64" -BROKEN= Sparc64 link error +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 |