pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/pari23 Honor LDFLAGS. Fixes RELRO build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8346989e29b2
branches:  trunk
changeset: 365257:8346989e29b2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jul 12 09:38:12 2017 +0000

description:
Honor LDFLAGS. Fixes RELRO build.

diffstat:

 math/pari23/distinfo         |  4 ++--
 math/pari23/patches/patch-ai |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r fb8f297c33cf -r 8346989e29b2 math/pari23/distinfo
--- a/math/pari23/distinfo      Wed Jul 12 09:26:02 2017 +0000
+++ b/math/pari23/distinfo      Wed Jul 12 09:38:12 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2017/06/07 14:45:31 ryoon Exp $
+$NetBSD: distinfo,v 1.3 2017/07/12 09:38:12 wiz Exp $
 
 SHA1 (pari-2.3.5.tar.gz) = f211ccfe42a4b18dbcde832dfd1ece6f477f4966
 RMD160 (pari-2.3.5.tar.gz) = 488adf3af5398d0ab5390eb86b65cd79bd1044c5
@@ -12,7 +12,7 @@
 SHA1 (patch-af) = 985b3a35f4c69124336c23c9c78690eb7e7d1567
 SHA1 (patch-ag) = 8c50e5b01832bc876874d51df02905dddb7839f3
 SHA1 (patch-ah) = 3febc677f1b94a9b3f4dec79388fdb8f77fa184f
-SHA1 (patch-ai) = 391588df28a5ccdd7876a6c60ea94f49b52231d5
+SHA1 (patch-ai) = f6d07a888fd48aeb379738357d5a61ec0322a968
 SHA1 (patch-aj) = 9231890613515ceb2c7018189dc549872f04a14d
 SHA1 (patch-ak) = 622a06c67fd16c61ca8219c01e7f9dc9de202df4
 SHA1 (patch-al) = 4b9fe2464fb1136449ab3f46dcd743e937db470f
diff -r fb8f297c33cf -r 8346989e29b2 math/pari23/patches/patch-ai
--- a/math/pari23/patches/patch-ai      Wed Jul 12 09:26:02 2017 +0000
+++ b/math/pari23/patches/patch-ai      Wed Jul 12 09:38:12 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ai,v 1.2 2017/06/07 14:45:31 ryoon Exp $
+$NetBSD: patch-ai,v 1.3 2017/07/12 09:38:12 wiz Exp $
 
 * PERL5LIB part: Fix build with Perl 5.26.0
 
@@ -51,7 +51,7 @@
  DLCFLAGS   = $DLCFLAGS
  LD_FLAVOR  = \$(CC_FLAVOR)
 -LD         = $LD \$(LD_FLAVOR)
-+LD         = \$(LIBTOOL) --mode=link $LD \$(LD_FLAVOR)
++LD         = \$(LIBTOOL) --mode=link $LD \$(LDFLAGS) \$(LD_FLAVOR)
  LDFLAGS    = $LDFLAGS
  DLLD_FLAVOR  = \$(LD_FLAVOR)
 -DLLD       = $DLLD \$(DLLD_FLAVOR)
@@ -128,7 +128,7 @@
  
 -all: $exec lib-sta
 +\$(LIBPARI): \$(OBJS)
-+      \$(LD) -o \$@ \$(OBJS) -rpath \$(LIBDIR) --version-info 0:0
++      \$(LD) $(LDFLAGS) -o \$@ \$(OBJS) -rpath \$(LIBDIR) --version-info 0:0
  
 -lib-sta: \$(LIBPARI_STA)
 -lib-dyn: \$(LIBPARI_DYN)



Home | Main Index | Thread Index | Old Index