aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2010-04-29 09:58:18 +0800
committermezz <mezz@FreeBSD.org>2010-04-29 09:58:18 +0800
commit1f6802d9698e5572db9c33fe72e9c4d760ab248a (patch)
treed7de7a516b3b43086950bd0558ad6dc608f66ef4
parente0dd5cc243e5f3208296bd01cdec5790bb0719e3 (diff)
downloadfreebsd-ports-gnome-1f6802d9698e5572db9c33fe72e9c4d760ab248a.tar.gz
freebsd-ports-gnome-1f6802d9698e5572db9c33fe72e9c4d760ab248a.tar.zst
freebsd-ports-gnome-1f6802d9698e5572db9c33fe72e9c4d760ab248a.zip
Fix the 'nss-config --libs' by remove the '-Wl,-R/usr/local/lib/nss' to allow
other gecko applications to be able to build with nss. PR: ports/144994 Submitted by: mi
-rw-r--r--security/nss/Makefile1
-rw-r--r--security/nss/files/nss-config.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/security/nss/Makefile b/security/nss/Makefile
index dc95221c0a2c..4c95a20c3a21 100644
--- a/security/nss/Makefile
+++ b/security/nss/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nss
PORTVERSION= ${_MAJOR}.${_MINOR}.${_PATCH}
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= security/nss/releases/NSS_${PORTVERSION:S/./_/g}_RTM/src
diff --git a/security/nss/files/nss-config.in b/security/nss/files/nss-config.in
index 18f27d26d02f..c826fc6aea69 100644
--- a/security/nss/files/nss-config.in
+++ b/security/nss/files/nss-config.in
@@ -127,7 +127,7 @@ if test "$echo_cflags" = "yes"; then
fi
if test "$echo_libs" = "yes"; then
- libdirs="-Wl,-R$libdir -L$libdir"
+ libdirs="-L$libdir"
if test -n "$lib_ssl"; then
libdirs="$libdirs -lssl${major_version}"
fi