pkgsrc-WIP-changes archive

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

meka-git: honor LDFLAGS. Fixes RELRO build.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sat Jul 15 19:02:28 2017 +0200
Changeset:	eb0f8c03d95d9493a9b676e40bb99417c3697307

Modified Files:
	meka-git/distinfo
	meka-git/patches/patch-meka_srcs_Makefile

Log Message:
meka-git: 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=eb0f8c03d95d9493a9b676e40bb99417c3697307

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

diffstat:
 meka-git/distinfo                         |  2 +-
 meka-git/patches/patch-meka_srcs_Makefile | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diffs:
diff --git a/meka-git/distinfo b/meka-git/distinfo
index 0e04a6b4a1..03a4738672 100644
--- a/meka-git/distinfo
+++ b/meka-git/distinfo
@@ -4,4 +4,4 @@ SHA1 (meka/meka-2ea7d721a6c8adf4d1c2a70303fa529810b2d72e.zip) = 5776fe10fcc6a347
 RMD160 (meka/meka-2ea7d721a6c8adf4d1c2a70303fa529810b2d72e.zip) = b273722c55653662b61ae92cd34019bdfa07bae2
 SHA512 (meka/meka-2ea7d721a6c8adf4d1c2a70303fa529810b2d72e.zip) = 528392c4755ed2e289c2a90d155d43fcbeb6eae79bdbc1a69452457a2678c7847b6ace318cf262e6015097f2b5e20dce7f764fbdb3884e0c5643595d82dff340
 Size (meka/meka-2ea7d721a6c8adf4d1c2a70303fa529810b2d72e.zip) = 16278029 bytes
-SHA1 (patch-meka_srcs_Makefile) = dce49fb2db0f1a30eb22f8915c12ddd0b140888f
+SHA1 (patch-meka_srcs_Makefile) = 6f5fba99606abb6e0a40482cdea08f93b47b629e
diff --git a/meka-git/patches/patch-meka_srcs_Makefile b/meka-git/patches/patch-meka_srcs_Makefile
index 8c4b910d90..2e5b223c4f 100644
--- a/meka-git/patches/patch-meka_srcs_Makefile
+++ b/meka-git/patches/patch-meka_srcs_Makefile
@@ -3,6 +3,8 @@ $NetBSD$
 Make it buildable for all allegro version >= 5
 Add required link option
 
+Honor LDFLAGS.
+
 --- meka/srcs/Makefile.orig	2016-12-14 16:51:57.000000000 +0000
 +++ meka/srcs/Makefile
 @@ -203,7 +203,7 @@ LIB_ALLEG = -lalleg
@@ -14,3 +16,12 @@ Add required link option
  endif
  
  ifeq ($(SYSTEM), macosx)
+@@ -219,7 +219,7 @@ ifeq ($(SYSTEM), win32)
+ LIB = $(LIB_PATHS) $(RESSOURCES)
+ LIB += $(LIB_ALLEG) $(LIB_SOUND) $(LIB_ZIP) $(LIB_OS) -nodefaultlib:msvcrt
+ else
+-LIB = $(LIB_PATHS) $(LIB_ALLEG) $(LIB_SOUND) $(LIB_OS) $(LIB_PNG) $(LIB_ZIP)
++LIB = $(LDFLAGS) $(LIB_PATHS) $(LIB_ALLEG) $(LIB_SOUND) $(LIB_OS) $(LIB_PNG) $(LIB_ZIP)
+ endif
+ 
+ #-----------------------------------------------------


Home | Main Index | Thread Index | Old Index