aboutsummaryrefslogtreecommitdiffstats
path: root/security/heimdal
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2014-11-25 03:21:20 +0800
committerhrs <hrs@FreeBSD.org>2014-11-25 03:21:20 +0800
commit3fb3e3c0188897c14a304dcc3bfb265c99fda223 (patch)
treea465fe07c2f12378d9cbf13af92b68948ffe9026 /security/heimdal
parentf9a2f9a1e8d7883460f3717a528a7b1329677831 (diff)
downloadfreebsd-ports-gnome-3fb3e3c0188897c14a304dcc3bfb265c99fda223.tar.gz
freebsd-ports-gnome-3fb3e3c0188897c14a304dcc3bfb265c99fda223.tar.zst
freebsd-ports-gnome-3fb3e3c0188897c14a304dcc3bfb265c99fda223.zip
Fix krb5-config.
Diffstat (limited to 'security/heimdal')
-rw-r--r--security/heimdal/Makefile2
-rw-r--r--security/heimdal/files/patch-tools-krb5-config.in20
2 files changed, 21 insertions, 1 deletions
diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile
index e227f120c580..a4d6de2d5913 100644
--- a/security/heimdal/Makefile
+++ b/security/heimdal/Makefile
@@ -3,7 +3,7 @@
PORTNAME= heimdal
PORTVERSION= 1.5.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security ipv6
MASTER_SITES= http://www.h5l.org/dist/src/ \
http://ftp.pdc.kth.se/pub/heimdal/src/ \
diff --git a/security/heimdal/files/patch-tools-krb5-config.in b/security/heimdal/files/patch-tools-krb5-config.in
new file mode 100644
index 000000000000..4dd3ac27d7e1
--- /dev/null
+++ b/security/heimdal/files/patch-tools-krb5-config.in
@@ -0,0 +1,20 @@
+--- tools/krb5-config.in.orig 2012-12-10 07:06:44.000000000 +0900
++++ tools/krb5-config.in 2014-11-25 04:01:22.000000000 +0900
+@@ -120,7 +120,7 @@
+ fi
+
+ if test "$do_libs" = "yes"; then
+- lib_flags="-L${libdir}"
++ lib_flags="-L${libdir} -Wl,-rpath=${libdir}"
+ case $library in
+ gssapi)
+ lib_flags="$lib_flags -lgssapi -lheimntlm"
+@@ -137,7 +137,7 @@
+ esac
+ lib_flags="$lib_flags -lkrb5 @LIB_pkinit@ -lcom_err"
+ lib_flags="$lib_flags @LIB_hcrypto_appl@ -lasn1 -lwind -lheimbase -lroken"
+- lib_flags="$lib_flags @LIB_crypt@ @PTHREAD_LIBADD@ @LIB_dlopen@"
++ lib_flags="$lib_flags @LIB_crypt@ @LIB_dlopen@"
+ lib_flags="$lib_flags @LIB_door_create@ @LIBS@"
+ echo $lib_flags
+ fi