diff options
author | wiz <wiz@pkgsrc.org> | 2018-08-25 14:39:11 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2018-08-25 14:39:11 +0000 |
commit | 35b7f9088a91474e97130525d7cc3f4ce2955de5 (patch) | |
tree | 925cad23a7cd4d60cd38e8fcb85e9079c66ce172 /devel/capstone | |
parent | 27972c44f120a5853a6649f35669153fadfe5ca1 (diff) | |
download | pkgsrc-35b7f9088a91474e97130525d7cc3f4ce2955de5.tar.gz |
capstone: honor LDFLAGS for cstool.
Fixes RELRO build.
Diffstat (limited to 'devel/capstone')
-rw-r--r-- | devel/capstone/distinfo | 4 | ||||
-rw-r--r-- | devel/capstone/patches/patch-cstool_Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/devel/capstone/distinfo b/devel/capstone/distinfo index a1936773988..8d207f2e836 100644 --- a/devel/capstone/distinfo +++ b/devel/capstone/distinfo @@ -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 @@ SHA512 (capstone-3.0.5rc2.tar.gz) = 31bafdb0b3183d0c054a4244cc135db9a3c3dc5cb2e2 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 --git a/devel/capstone/patches/patch-cstool_Makefile b/devel/capstone/patches/patch-cstool_Makefile index 79e2f8684db..e554cf391a4 100644 --- a/devel/capstone/patches/patch-cstool_Makefile +++ b/devel/capstone/patches/patch-cstool_Makefile @@ -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 @@ Fix path to the libraries installed. +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) |