pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/ghostscript-agpl Honor LDFLAGS in more places. F...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d0a2d1655734
branches:  trunk
changeset: 365250:d0a2d1655734
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jul 12 08:55:36 2017 +0000

description:
Honor LDFLAGS in more places. Fixes RELRO build.

diffstat:

 print/ghostscript-agpl/distinfo                        |  4 ++--
 print/ghostscript-agpl/patches/patch-base_unix-dll.mak |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (41 lines):

diff -r d6aca4edfb09 -r d0a2d1655734 print/ghostscript-agpl/distinfo
--- a/print/ghostscript-agpl/distinfo   Wed Jul 12 07:52:28 2017 +0000
+++ b/print/ghostscript-agpl/distinfo   Wed Jul 12 08:55:36 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2017/04/20 09:20:55 jperkin Exp $
+$NetBSD: distinfo,v 1.17 2017/07/12 08:55:36 wiz Exp $
 
 SHA1 (ghostscript-9.21.tar.gz) = 6f60d7fcb5eef6a8bec5abedf21c6a7008a8c0c7
 RMD160 (ghostscript-9.21.tar.gz) = c389ab9346f86ba4ff9e5b80aca0dda7acb866a5
@@ -7,6 +7,6 @@
 SHA1 (patch-base_gserrors_h) = ce75cfb7528871842a3bd35e18a6d91c89823909
 SHA1 (patch-base_lib.mak) = 723926f167b49568376ef0c0da6aa4ec01fe1516
 SHA1 (patch-base_mkromfs.c) = 96006928e0b5381e7101027372b6e6408f1c4a0b
-SHA1 (patch-base_unix-dll.mak) = 3b4a19212fd2e8c4a883e4983ae9595f993f889a
+SHA1 (patch-base_unix-dll.mak) = 23595f424ecd2af4a504f15817fd57cdec8851df
 SHA1 (patch-configure) = 50967456938be7061ce081335a3a602726b939a8
 SHA1 (patch-devices_devs.mak) = ceb89a4d50765e146c0f3199c31b2c053bf2be09
diff -r d6aca4edfb09 -r d0a2d1655734 print/ghostscript-agpl/patches/patch-base_unix-dll.mak
--- a/print/ghostscript-agpl/patches/patch-base_unix-dll.mak    Wed Jul 12 07:52:28 2017 +0000
+++ b/print/ghostscript-agpl/patches/patch-base_unix-dll.mak    Wed Jul 12 08:55:36 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-base_unix-dll.mak,v 1.2 2017/04/20 09:20:55 jperkin Exp $
+$NetBSD: patch-base_unix-dll.mak,v 1.3 2017/07/12 08:55:36 wiz Exp $
 
 Use correct shared library naming on Darwin.
 Add some rpaths.
@@ -25,12 +25,12 @@
  $(GSSOC_XE): gs-so-links-subtarget $(PSSRC)$(SOC_LOADER) $(UNIX_DLL_MAK) $(MAKEDIRS)
        $(GLCC) -g -o $(GSSOC_XE) $(PSSRC)dxmainc.c \
 -      -L$(BINDIR) -l$(GS_SO_BASE)
-+      -L$(BINDIR) -L$(PREFIX)/lib -Wl,-R$(PREFIX)/lib -l$(GS_SO_BASE)
++      -L$(BINDIR) -L$(PREFIX)/lib -Wl,-R$(PREFIX)/lib -l$(GS_SO_BASE) $(LDFLAGS)
  
  $(GSSOX_XE): gs-so-links-subtarget $(PSSRC)$(SOC_LOADER) $(UNIX_DLL_MAK) $(MAKEDIRS)
        $(GLCC) -g $(SOC_CFLAGS) -o $(GSSOX_XE) $(PSSRC)$(SOC_LOADER) \
 -      -L$(BINDIR) -l$(GS_SO_BASE) $(SOC_LIBS)
-+      -L$(BINDIR) -L$(PREFIX)/lib -Wl,-R$(PREFIX)/lib -l$(GS_SO_BASE) $(SOC_LIBS)
++      -L$(BINDIR) -L$(PREFIX)/lib -Wl,-R$(PREFIX)/lib -l$(GS_SO_BASE) $(SOC_LIBS) $(LDFLAGS)
  
  $(PCLSOC_XE): gpcl6-so-links-subtarget $(PLSRC)$(REALMAIN_SRC).c $(UNIX_DLL_MAK) $(MAKEDIRS)
        $(GLCC) -g -o $(PCLSOC_XE) $(PLSRC)$(REALMAIN_SRC).c -L$(BINDIR) -l$(PCL_SO_BASE)



Home | Main Index | Thread Index | Old Index