pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/libgcrypt Use COMPILER_RPATH_FLAG properly. R...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/14de840fe5b9
branches:  trunk
changeset: 351895:14de840fe5b9
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Thu Sep 01 10:19:30 2016 +0000

description:
Use COMPILER_RPATH_FLAG properly. Reconciles libgcrypt-config with
Darwin linker. Fixes joyent/pkgsrc#400. Bump PKGREVISION.

diffstat:

 security/libgcrypt/Makefile         |  9 ++++++++-
 security/libgcrypt/distinfo         |  4 ++--
 security/libgcrypt/patches/patch-aa |  4 ++--
 3 files changed, 12 insertions(+), 5 deletions(-)

diffs (58 lines):

diff -r ff818691da0d -r 14de840fe5b9 security/libgcrypt/Makefile
--- a/security/libgcrypt/Makefile       Thu Sep 01 06:20:19 2016 +0000
+++ b/security/libgcrypt/Makefile       Thu Sep 01 10:19:30 2016 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.83 2016/08/20 19:22:37 wiz Exp $
+# $NetBSD: Makefile,v 1.84 2016/09/01 10:19:30 fhajny Exp $
 
 DISTNAME=      libgcrypt-1.7.3
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  ftp://ftp.gnupg.org/gcrypt/libgcrypt/ \
                http://gd.tuwien.ac.at/privacy/gnupg/libgcrypt/
@@ -54,6 +55,12 @@
 .  endif
 .endif
 
+SUBST_CLASSES+=                rpath
+SUBST_FILES.rpath=     src/libgcrypt-config.in
+SUBST_STAGE.rpath=     pre-configure
+SUBST_MESSAGE.rpath=   Fixing rpath flags
+SUBST_VARS.rpath=      COMPILER_RPATH_FLAG
+
 .include "options.mk"
 
 BUILDLINK_API_DEPENDS.libgpg-error+=   libgpg-error>=1.13
diff -r ff818691da0d -r 14de840fe5b9 security/libgcrypt/distinfo
--- a/security/libgcrypt/distinfo       Thu Sep 01 06:20:19 2016 +0000
+++ b/security/libgcrypt/distinfo       Thu Sep 01 10:19:30 2016 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.67 2016/08/17 23:13:11 maya Exp $
+$NetBSD: distinfo,v 1.68 2016/09/01 10:19:30 fhajny Exp $
 
 SHA1 (libgcrypt-1.7.3.tar.bz2) = 5a034291e7248592605db448481478e6c963aa9c
 RMD160 (libgcrypt-1.7.3.tar.bz2) = 0d3cd1f17572dfaccf098cfaea79d36d6f484418
 SHA512 (libgcrypt-1.7.3.tar.bz2) = 55c5704e45167dc5adf1e5a92789a5d841dc27966212cc556abb374e724fddcd85c74b83e0cfa5f3ed2575e3fec9465e8a90d1c5bc8ab1f6697c9abfc2dcaa05
 Size (libgcrypt-1.7.3.tar.bz2) = 2861294 bytes
-SHA1 (patch-aa) = 3dd44b8745128a6788d24f9eb00002624a5fc52b
+SHA1 (patch-aa) = 60b3f4453b217ed8879a2ffd8d485c0195ffb5f8
 SHA1 (patch-cipher_rijndael-arm.S) = ef3cb7f481022440780eb48ae31cbfad0a3ec115
 SHA1 (patch-src_visibility.h) = 8cbbf6803ab34b4b7dda832aa8ee18247aa89518
diff -r ff818691da0d -r 14de840fe5b9 security/libgcrypt/patches/patch-aa
--- a/security/libgcrypt/patches/patch-aa       Thu Sep 01 06:20:19 2016 +0000
+++ b/security/libgcrypt/patches/patch-aa       Thu Sep 01 10:19:30 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.8 2014/08/21 19:41:38 wiz Exp $
+$NetBSD: patch-aa,v 1.9 2016/09/01 10:19:30 fhajny Exp $
 
 Add rpath to configure script.
 
@@ -9,7 +9,7 @@
      # Set up `libdirs'.
      if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/lib"; then
 -      libdirs="-L$libdir"
-+      libdirs="-L$libdir -Wl,-R@libdir@"
++      libdirs="-L$libdir @COMPILER_RPATH_FLAG@@libdir@"
      fi
  
      # Set up `libs_final'.



Home | Main Index | Thread Index | Old Index