diff options
author | cy <cy@FreeBSD.org> | 2005-11-26 03:40:48 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2005-11-26 03:40:48 +0800 |
commit | d6954a14e76c73858980d67ed3ebc1829f33283d (patch) | |
tree | 4906c6fb1dfba21e81d8b990c49b47ce13ce0c40 /security/krb5-16 | |
parent | 671dfe682d03c60776144a342d95c7f19f92ef1d (diff) | |
download | freebsd-ports-gnome-d6954a14e76c73858980d67ed3ebc1829f33283d.tar.gz freebsd-ports-gnome-d6954a14e76c73858980d67ed3ebc1829f33283d.tar.zst freebsd-ports-gnome-d6954a14e76c73858980d67ed3ebc1829f33283d.zip |
Improve runtime performance on Sparc 64 platform.
Diffstat (limited to 'security/krb5-16')
-rw-r--r-- | security/krb5-16/Makefile | 9 | ||||
-rw-r--r-- | security/krb5-16/files/patch-config::shlib.conf | 15 |
2 files changed, 13 insertions, 11 deletions
diff --git a/security/krb5-16/Makefile b/security/krb5-16/Makefile index 82b7ecfa45de..6abb738ead81 100644 --- a/security/krb5-16/Makefile +++ b/security/krb5-16/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 diff --git a/security/krb5-16/files/patch-config::shlib.conf b/security/krb5-16/files/patch-config::shlib.conf index afd4eb259ea2..a489ac3a34dd 100644 --- a/security/krb5-16/files/patch-config::shlib.conf +++ b/security/krb5-16/files/patch-config::shlib.conf @@ -1,7 +1,14 @@ ---- config/shlib.conf.orig Sun Mar 2 23:09:45 2003 -+++ config/shlib.conf Tue Jul 29 18:16:43 2003 -@@ -179,14 +179,15 @@ - PICFLAGS=-fpic +--- config/shlib.conf.orig Thu Apr 7 14:38:55 2005 ++++ config/shlib.conf Wed Nov 23 16:32:40 2005 +@@ -238,17 +238,21 @@ + else + objformat="aout" + fi +- PICFLAGS=-fpic ++ case $krb5_cv_host in ++ sparc64-*) PICFLAGS=-fPIC;; ++ *) PICFLAGS=-fpic;; ++ esac if test "x$objformat" = "xelf" ; then SHLIBVEXT='.so.$(LIBMAJOR)' + LDCOMBINE="libtool15 --mode=link cc -shared" |