pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/capstone capstone: honor LDFLAGS for cstool.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c93ed8fbc7d8
branches:  trunk
changeset: 384481:c93ed8fbc7d8
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Aug 25 14:39:11 2018 +0000

description:
capstone: honor LDFLAGS for cstool.

Fixes RELRO build.

diffstat:

 devel/capstone/distinfo                      |  4 ++--
 devel/capstone/patches/patch-cstool_Makefile |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r da1c00cf5f73 -r c93ed8fbc7d8 devel/capstone/distinfo
--- a/devel/capstone/distinfo   Sat Aug 25 13:20:58 2018 +0000
+++ b/devel/capstone/distinfo   Sat Aug 25 14:39:11 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2018/03/24 17:10:42 joerg Exp $
+$NetBSD: distinfo,v 1.12 2018/08/25 14:39:11 wiz Exp $
 
 SHA1 (capstone-3.0.5rc2.tar.gz) = 52052e754c4f92128d16d5b028b85f646547f091
 RMD160 (capstone-3.0.5rc2.tar.gz) = 960473fc8f4b7113adc291b768e668e27a7c8b56
@@ -6,4 +6,4 @@
 Size (capstone-3.0.5rc2.tar.gz) = 2829338 bytes
 SHA1 (patch-bindings_python_capstone_____init____.py) = a634a7fb27da8c9a391504d42801180293ec767c
 SHA1 (patch-bindings_python_setup.py) = 8d209df5d7ed4b2cc8283394fd1ec9659ab86a72
-SHA1 (patch-cstool_Makefile) = 94c029a1f667ceffad787f056c332c11001344df
+SHA1 (patch-cstool_Makefile) = 8bdc86ca209f44a26141d5c45c2be84c0e951ddb
diff -r da1c00cf5f73 -r c93ed8fbc7d8 devel/capstone/patches/patch-cstool_Makefile
--- a/devel/capstone/patches/patch-cstool_Makefile      Sat Aug 25 13:20:58 2018 +0000
+++ b/devel/capstone/patches/patch-cstool_Makefile      Sat Aug 25 14:39:11 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-cstool_Makefile,v 1.1 2018/02/23 02:42:06 khorben Exp $
+$NetBSD: patch-cstool_Makefile,v 1.2 2018/08/25 14:39:11 wiz Exp $
 
 Fix path to the libraries installed.
 
@@ -13,7 +13,7 @@
 +PREFIX ?= /usr
 +LIBDIRARCH ?= lib
 +CFLAGS = -I../include -O3 -Wall
-+LDFLAGS = -Wl,-rpath,$(PREFIX)/$(LIBDIRARCH) -L.. -l$(LIBNAME)
++LDFLAGS += -Wl,-rpath,$(PREFIX)/$(LIBDIRARCH) -L.. -l$(LIBNAME)
  
  TARGET = cstool
  SOURCES := $(wildcard *.c)



Home | Main Index | Thread Index | Old Index