diff options
author | pav <pav@FreeBSD.org> | 2007-03-29 01:31:59 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2007-03-29 01:31:59 +0800 |
commit | 3f3d8371852d726db1dc5bdfa1aa67ec4c2d78c0 (patch) | |
tree | ac135a7f91b9f95db3a8b7d74d43ad1e3bb1b9c1 /security/krb5 | |
parent | 630a3e5c7412e913d39ea2e1f2edd0143881407e (diff) | |
download | freebsd-ports-gnome-3f3d8371852d726db1dc5bdfa1aa67ec4c2d78c0.tar.gz freebsd-ports-gnome-3f3d8371852d726db1dc5bdfa1aa67ec4c2d78c0.tar.zst freebsd-ports-gnome-3f3d8371852d726db1dc5bdfa1aa67ec4c2d78c0.zip |
- Fix after objformat removal
Reported by: pointyhat
Diffstat (limited to 'security/krb5')
-rw-r--r-- | security/krb5/files/patch-config::shlib.conf | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/security/krb5/files/patch-config::shlib.conf b/security/krb5/files/patch-config::shlib.conf index 272865fd23dc..18f91fffc6d5 100644 --- a/security/krb5/files/patch-config::shlib.conf +++ b/security/krb5/files/patch-config::shlib.conf @@ -1,23 +1,27 @@ ---- 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 +--- config/shlib.conf.orig Mon Oct 23 05:20:11 2006 ++++ config/shlib.conf Wed Mar 28 17:17:55 2007 +@@ -258,22 +258,15 @@ + ;; + + *-*-freebsd*) +- if test -x /usr/bin/objformat ; then +- objformat=`/usr/bin/objformat` +- else +- objformat="aout" +- fi - PICFLAGS=-fpic +- if test "x$objformat" = "xelf" ; then + case $krb5_cv_host in + sparc64-*) PICFLAGS=-fPIC;; + *) PICFLAGS=-fpic;; + esac - if test "x$objformat" = "xelf" ; then SHLIBVEXT='.so.$(LIBMAJOR)' + LDCOMBINE="libtool --mode=link cc -shared" RPATH_FLAG='-Wl,-rpath -Wl,' - else -+ LDCOMBINE='ld -Bshareable' - RPATH_FLAG=-R - SHLIBVEXT='.so.$(LIBMAJOR).$(LIBMINOR)' - fi +- else +- RPATH_FLAG=-R +- SHLIBVEXT='.so.$(LIBMAJOR).$(LIBMINOR)' +- fi CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) $(RPATH_FLAG)$(PROG_RPATH) $(CFLAGS) $(LDFLAGS)' SHLIBEXT=.so - LDCOMBINE='ld -Bshareable' |