pkgsrc-WIP-changes archive

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

tktile: honor LDFLAGS. Fixes RELRO build.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Tue Mar 6 16:42:53 2018 +0100
Changeset:	17715a0860d713f091e3baf77f9181aac59ce466

Modified Files:
	tktile/distinfo
Added Files:
	tktile/patches/patch-Makefile.in

Log Message:
tktile: honor LDFLAGS. Fixes RELRO build.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=17715a0860d713f091e3baf77f9181aac59ce466

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 tktile/distinfo                  |  1 +
 tktile/patches/patch-Makefile.in | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

diffs:
diff --git a/tktile/distinfo b/tktile/distinfo
index 06ed164a53..f9ad4be17a 100644
--- a/tktile/distinfo
+++ b/tktile/distinfo
@@ -3,3 +3,4 @@ $NetBSD: distinfo,v 1.1.1.1 2012/01/17 13:26:29 jihbed Exp $
 SHA1 (tile-0.8.4.0.tar.gz) = c24efd5a105f83c1dc4619f95746511247cb1217
 RMD160 (tile-0.8.4.0.tar.gz) = 6fa5eb19345f3d889dce5db942e9177433bce015
 Size (tile-0.8.4.0.tar.gz) = 628069 bytes
+SHA1 (patch-Makefile.in) = 66508df69cd1966c9ab951118dd195f54920d3b3
diff --git a/tktile/patches/patch-Makefile.in b/tktile/patches/patch-Makefile.in
new file mode 100644
index 0000000000..b7f2c836eb
--- /dev/null
+++ b/tktile/patches/patch-Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Honor LDFLAGS.
+
+--- Makefile.in.orig	2006-11-26 21:51:16.000000000 +0000
++++ Makefile.in
+@@ -140,7 +140,7 @@ DEFS		= @DEFS@ $(EXTRA_CFLAGS)
+ CONFIG_CLEAN_FILES = Makefile
+ 
+ CPPFLAGS	= @CPPFLAGS@
+-LIBS		= @PKG_LIBS@ @LIBS@ @MATH_LIBS@
++LIBS		= @PKG_LIBS@ @LIBS@ @MATH_LIBS@ $(LDFLAGS)
+ AR		= @AR@
+ CFLAGS		= @CFLAGS@
+ COMPILE		= $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)


Home | Main Index | Thread Index | Old Index