summaryrefslogtreecommitdiff
path: root/security/libgcrypt/patches
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2003-11-02 19:57:51 +0000
committerhubertf <hubertf@pkgsrc.org>2003-11-02 19:57:51 +0000
commit979d04736ec7a77d36cc223457f07f382bd634de (patch)
tree17f298c11ab23d33324a1efc98015ddc214039e8 /security/libgcrypt/patches
parentdd8c154cc3e4ce73ce79d8a468f96b36446cda79 (diff)
downloadpkgsrc-979d04736ec7a77d36cc223457f07f382bd634de.tar.gz
Fix "libgcrypt-config --libs" to add -Wl,-R. Bump to 1.1.12nb1.
Diffstat (limited to 'security/libgcrypt/patches')
-rw-r--r--security/libgcrypt/patches/patch-aa16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/libgcrypt/patches/patch-aa b/security/libgcrypt/patches/patch-aa
new file mode 100644
index 00000000000..5ffb9913fe5
--- /dev/null
+++ b/security/libgcrypt/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2003/11/02 19:57:51 hubertf Exp $
+
+--- src/libgcrypt-config.in.orig Fri Aug 23 15:10:57 2002
++++ src/libgcrypt-config.in
+@@ -103,9 +103,9 @@ fi
+
+ if test "$echo_libs" = "yes"; then
+ if test "@libdir@" != "/usr/lib" ; then
+- libdirs="-L@libdir@"
++ libdirs="-L@libdir@ -Wl,-R@libdir@"
+ for i in $libs ; do
+- if test "$i" = "-L@libdir@" ; then
++ if test "$i" = "-L@libdir@ -Wl,-R@libdir@" ; then
+ libdirs=""
+ fi
+ done