aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-09-12 23:04:27 +0800
committertijl <tijl@FreeBSD.org>2014-09-12 23:04:27 +0800
commit7f0eee05ee9dbd95bd77d6de03646f287d7af33e (patch)
treee7a085484d39891a874dce57d17263b26db83687
parenta0fed411ad2ca87726ba4a22d9183f67218f9354 (diff)
downloadfreebsd-ports-gnome-7f0eee05ee9dbd95bd77d6de03646f287d7af33e.tar.gz
freebsd-ports-gnome-7f0eee05ee9dbd95bd77d6de03646f287d7af33e.tar.zst
freebsd-ports-gnome-7f0eee05ee9dbd95bd77d6de03646f287d7af33e.zip
Adjust patch to avoid libtool. It is more similar to Linux now.
-rw-r--r--security/krb5-maint/Makefile9
-rw-r--r--security/krb5-maint/files/patch-config__shlib.conf11
-rw-r--r--security/krb5-maint/pkg-plist13
3 files changed, 23 insertions, 10 deletions
diff --git a/security/krb5-maint/Makefile b/security/krb5-maint/Makefile
index cab99e4ae9a8..562d1b3868ae 100644
--- a/security/krb5-maint/Makefile
+++ b/security/krb5-maint/Makefile
@@ -3,7 +3,7 @@
PORTNAME= krb5-maint
PORTVERSION= 1.11.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= http://web.mit.edu/kerberos/dist/krb5/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
DISTNAME= krb5-${PORTVERSION}-signed
@@ -21,14 +21,13 @@ BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
CONFLICTS= heimdal-[0-9]* srp-[0-9]* krb5-[0-9]*
-LATEST_LINK= ${PORTNAME}-19
KERBEROSV_URL= http://web.mit.edu/kerberos/
+USES= gettext gmake perl5
USE_PERL5= build
USE_LDCONFIG= yes
USE_CSTD= gnu99
-USE_AUTOTOOLS= libtool
-USES= gettext gmake perl5
-CONFIGURE_ARGS?= --enable-shared --without-system-verto
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS?= --without-system-verto
CONFIGURE_ENV= INSTALL="${INSTALL}" YACC="${YACC}"
MAKE_ARGS= INSTALL="${INSTALL}"
diff --git a/security/krb5-maint/files/patch-config__shlib.conf b/security/krb5-maint/files/patch-config__shlib.conf
index 55f967d8a505..05983c9ad8e3 100644
--- a/security/krb5-maint/files/patch-config__shlib.conf
+++ b/security/krb5-maint/files/patch-config__shlib.conf
@@ -1,6 +1,6 @@
--- config/shlib.conf.orig 2012-08-08 15:27:55.000000000 -0700
+++ config/shlib.conf 2012-11-02 17:49:31.140500618 -0700
-@@ -306,24 +306,18 @@
+@@ -306,24 +306,19 @@
;;
*-*-freebsd*)
@@ -11,13 +11,12 @@
- fi
- PICFLAGS=-fpic
- if test "x$objformat" = "xelf" ; then
+- SHLIBVEXT='.so.$(LIBMAJOR)'
+ case $krb5_cv_host in
+ sparc64-*) PICFLAGS=-fPIC;;
+ *) PICFLAGS=-fpic;;
+ esac
+
- SHLIBVEXT='.so.$(LIBMAJOR)'
-+ LDCOMBINE="libtool --mode=link cc -Xcompiler -shared"
RPATH_FLAG='-Wl,-rpath -Wl,'
- else
- RPATH_FLAG=-R
@@ -26,8 +25,12 @@
PROG_RPATH_FLAGS='$(RPATH_FLAG)$(PROG_RPATH)'
CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) $(PROG_RPATH_FLAGS) $(CFLAGS) $(LDFLAGS)'
CXX_LINK_SHARED='$(CXX) $(PROG_LIBPATH) $(PROG_RPATH_FLAGS) $(CXXFLAGS) $(LDFLAGS)'
++ SHLIBVEXT='.so.$(LIBMAJOR).$(LIBMINOR)'
++ SHLIBSEXT='.so.$(LIBMAJOR)'
SHLIBEXT=.so
- LDCOMBINE='ld -Bshareable'
- SHLIB_RPATH_FLAGS='-R$(SHLIB_RDIRS)'
+- SHLIB_RPATH_FLAGS='-R$(SHLIB_RDIRS)'
++ LDCOMBINE='$(CC) -shared -Wl,-soname=$(LIBPREFIX)$(LIBBASE)$(SHLIBSEXT) -Wl,--no-undefined'
++ SHLIB_RPATH_FLAGS='$(RPATH_FLAG)$(SHLIB_RDIRS)'
SHLIB_EXPFLAGS='$(SHLIB_RPATH_FLAGS) $(SHLIB_DIRS) $(SHLIB_EXPLIBS)'
CC_LINK_STATIC='$(CC) $(PROG_LIBPATH) $(CFLAGS) $(LDFLAGS)'
diff --git a/security/krb5-maint/pkg-plist b/security/krb5-maint/pkg-plist
index f48bb630f5e0..14dcef45452d 100644
--- a/security/krb5-maint/pkg-plist
+++ b/security/krb5-maint/pkg-plist
@@ -60,31 +60,42 @@ include/verto-module.h
include/verto.h
lib/libcom_err.so
lib/libcom_err.so.3
+lib/libcom_err.so.3.0
lib/libgssapi_krb5.so
lib/libgssapi_krb5.so.2
+lib/libgssapi_krb5.so.2.2
lib/libgssrpc.so
lib/libgssrpc.so.4
+lib/libgssrpc.so.4.1
lib/libk5crypto.so
lib/libk5crypto.so.3
+lib/libk5crypto.so.3.1
lib/libkadm5clnt.so
lib/libkadm5clnt_mit.so
lib/libkadm5clnt_mit.so.8
+lib/libkadm5clnt_mit.so.8.0
lib/libkadm5srv.so
lib/libkadm5srv_mit.so
lib/libkadm5srv_mit.so.8
+lib/libkadm5srv_mit.so.8.0
lib/libkdb5.so
lib/libkdb5.so.7
+lib/libkdb5.so.7.0
lib/libkrb5.so
lib/libkrb5.so.3
+lib/libkrb5.so.3.3
lib/libkrb5support.so
lib/libkrb5support.so.0
+lib/libkrb5support.so.0.1
lib/krb5/plugins/kdb/db2.so
%%LDAP%%lib/krb5/plugins/kdb/kldap.so
lib/krb5/plugins/preauth/pkinit.so
%%LDAP%%lib/libkdb_ldap.so
%%LDAP%%lib/libkdb_ldap.so.1
-lib/libverto.so.0
+%%LDAP%%lib/libkdb_ldap.so.1.0
lib/libverto.so
+lib/libverto.so.0
+lib/libverto.so.0.0
man/man1/k5srvutil.1.gz
man/man1/kadmin.1.gz
man/man1/krb5-config.1.gz