pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/wxGTK30 Honor LDFLAGS. Fixes RELRO build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c7aa23003c71
branches:  trunk
changeset: 365395:c7aa23003c71
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jul 15 19:10:57 2017 +0000

description:
Honor LDFLAGS. Fixes RELRO build.

diffstat:

 x11/wxGTK30/distinfo                  |   3 ++-
 x11/wxGTK30/patches/patch-Makefile.in |  32 ++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+), 1 deletions(-)

diffs (53 lines):

diff -r 73666c3ff279 -r c7aa23003c71 x11/wxGTK30/distinfo
--- a/x11/wxGTK30/distinfo      Sat Jul 15 19:10:31 2017 +0000
+++ b/x11/wxGTK30/distinfo      Sat Jul 15 19:10:57 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2016/03/27 17:11:37 joerg Exp $
+$NetBSD: distinfo,v 1.8 2017/07/15 19:10:57 wiz Exp $
 
 SHA1 (wxWidgets-3.0.2-libtool.3.diff.bz2) = ffc3fbec9b1a8a9c19ac5f3750c78559b6bb2c81
 RMD160 (wxWidgets-3.0.2-libtool.3.diff.bz2) = 54f4aa932208172496e620def1d854602d87b12e
@@ -8,6 +8,7 @@
 RMD160 (wxWidgets-3.0.2.tar.bz2) = a7f404c8a64ca68fa31e408bded4387c2722196b
 SHA512 (wxWidgets-3.0.2.tar.bz2) = 098f79863103f3be0b7e21e4f0f1b34ab5277ef0033c1ef1387a9c673b0e0b76a2d732b183fa11b22cfcbbfdb7a4884f243d12f65cd49baa1772852307b393c4
 Size (wxWidgets-3.0.2.tar.bz2) = 20172909 bytes
+SHA1 (patch-Makefile.in) = 57f775d5471411a5439c83c943042badc153e00f
 SHA1 (patch-build_aclocal_bakefile.m4) = 7d3d6fb1e6a72e370dc6147010fa5bf2c46f1206
 SHA1 (patch-configure) = 897f13daa5bc8246902d7d864096d621f2e54928
 SHA1 (patch-configure.in) = e49b9a83040201f01c22b3e1cbc4b331985f4e99
diff -r 73666c3ff279 -r c7aa23003c71 x11/wxGTK30/patches/patch-Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/wxGTK30/patches/patch-Makefile.in     Sat Jul 15 19:10:57 2017 +0000
@@ -0,0 +1,32 @@
+$NetBSD: patch-Makefile.in,v 1.1 2017/07/15 19:10:57 wiz Exp $
+
+Honor LDFLAGS.
+
+--- Makefile.in.orig   2017-07-15 18:18:47.610399130 +0000
++++ Makefile.in
+@@ -35,6 +35,7 @@ CC = @CC@
+ CXX = @CXX@
+ CFLAGS = @CFLAGS@
+ CXXFLAGS = @CXXFLAGS@
++LDFLAGS = @LDFLAGS@
+ OBJCXXFLAGS = @OBJCXXFLAGS@
+ CPPFLAGS = @CPPFLAGS@
+ VENDOR = @VENDOR@
+@@ -65,7 +66,7 @@ WX_RELEASE_NODOT = 30
+ WX_VERSION = $(WX_RELEASE).2
+ LIBDIRNAME = $(wx_top_builddir)/lib
+ WXREGEX_CFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(PIC_FLAG) \
+-      $(CPPFLAGS) $(CFLAGS)
++      $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
+ WXREGEX_OBJECTS =  \
+       wxregex_regcomp.lo \
+       wxregex_regexec.lo \
+@@ -14890,7 +14891,7 @@ distclean: clean
+       -(cd samples && $(MAKE) distclean)
+ 
+ @COND_wxUSE_REGEX_builtin@$(LIBDIRNAME)/$(DLLPREFIX)wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE).la: $(WXREGEX_OBJECTS)
+-@COND_wxUSE_REGEX_builtin@    ${LIBTOOL} --mode=link --tag=CC $(CC) -rpath $(libdir) -shared -o $@ $(WXREGEX_OBJECTS)  $(__wxregex___importlib) -version-number 0:2:0
++@COND_wxUSE_REGEX_builtin@    ${LIBTOOL} --mode=link --tag=CC $(CC) $(LDFLAGS) -rpath $(libdir) -shared -o $@ $(WXREGEX_OBJECTS)  $(__wxregex___importlib) -version-number 0:2:0
+ 
+ @COND_wxUSE_REGEX_builtin@install_wxregex: $(__wxregex___depname)
+ @COND_wxUSE_REGEX_builtin@    ${BSD_INSTALL_DATA_DIR} $(DESTDIR)$(libdir)



Home | Main Index | Thread Index | Old Index