diff options
author | cy <cy@FreeBSD.org> | 2005-11-24 05:57:18 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2005-11-24 05:57:18 +0800 |
commit | cf2add332996fe045f9b16e1225d18a35e1e40fd (patch) | |
tree | 55c2daaae9f7d10f8629c2972fb71ee605c5c879 /security | |
parent | b273ebb3da1d3e86a4f4c4748e8d48be4e25d825 (diff) | |
download | freebsd-ports-gnome-cf2add332996fe045f9b16e1225d18a35e1e40fd.tar.gz freebsd-ports-gnome-cf2add332996fe045f9b16e1225d18a35e1e40fd.tar.zst freebsd-ports-gnome-cf2add332996fe045f9b16e1225d18a35e1e40fd.zip |
Fix the Sparc 64 build.
Diffstat (limited to 'security')
-rw-r--r-- | security/krb5-16/Makefile | 8 | ||||
-rw-r--r-- | security/krb5-17/Makefile | 8 | ||||
-rw-r--r-- | security/krb5-appl/Makefile | 8 | ||||
-rw-r--r-- | security/krb5/Makefile | 8 |
4 files changed, 20 insertions, 12 deletions
diff --git a/security/krb5-16/Makefile b/security/krb5-16/Makefile index 3ca2227fe5cd..82b7ecfa45de 100644 --- a/security/krb5-16/Makefile +++ b/security/krb5-16/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 diff --git a/security/krb5-17/Makefile b/security/krb5-17/Makefile index 3ca2227fe5cd..82b7ecfa45de 100644 --- a/security/krb5-17/Makefile +++ b/security/krb5-17/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 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 diff --git a/security/krb5/Makefile b/security/krb5/Makefile index 3ca2227fe5cd..82b7ecfa45de 100644 --- a/security/krb5/Makefile +++ b/security/krb5/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 |