summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-02-20 11:40:30 +0000
committerjperkin <jperkin>2016-02-20 11:40:30 +0000
commit3dc6804a3139395f30f768b9599c808161fc5696 (patch)
tree96f6a9bd0b8f7e8471d12739af688c7566e09ed0 /devel
parent41191be2a7fcd9a0b15d1b075dcb36b09cee26e3 (diff)
downloadpkgsrc-3dc6804a3139395f30f768b9599c808161fc5696.tar.gz
Fix install_name on Darwin. Bump PKGREVISION.
Diffstat (limited to 'devel')
-rw-r--r--devel/capstone/Makefile3
-rw-r--r--devel/capstone/distinfo4
-rw-r--r--devel/capstone/patches/patch-Makefile13
3 files changed, 16 insertions, 4 deletions
diff --git a/devel/capstone/Makefile b/devel/capstone/Makefile
index 48990e20440..c6fb7e319b1 100644
--- a/devel/capstone/Makefile
+++ b/devel/capstone/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2015/07/28 12:48:14 sevan Exp $
+# $NetBSD: Makefile,v 1.8 2016/02/20 11:40:30 jperkin Exp $
DISTNAME= capstone-3.0.4
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=aquynh/}
diff --git a/devel/capstone/distinfo b/devel/capstone/distinfo
index 11b87d7b12c..effb5cee627 100644
--- a/devel/capstone/distinfo
+++ b/devel/capstone/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.8 2015/11/03 03:27:17 agc Exp $
+$NetBSD: distinfo,v 1.9 2016/02/20 11:40:30 jperkin Exp $
SHA1 (capstone-3.0.4.tar.gz) = 6153bbb4a4141fd9e6996d646cf7c81953cfe75a
RMD160 (capstone-3.0.4.tar.gz) = 3f96993cc7cd2fbc1080e785bb7c7ae7f209d0f9
SHA512 (capstone-3.0.4.tar.gz) = a5c29e7c559b5391d6a4ec9a7f766699ea6d321aa2f1fc57fdcec893107fa3ef2f5f6323629971c1129f1ca087df4f3ad03d0a8234d2eae368c8ccfec04dbf4d
Size (capstone-3.0.4.tar.gz) = 2800818 bytes
-SHA1 (patch-Makefile) = 7720d97ba443e0bf3465dd5963535b4079956c1e
+SHA1 (patch-Makefile) = a29910046034f468101b6b291c4f995923d09528
diff --git a/devel/capstone/patches/patch-Makefile b/devel/capstone/patches/patch-Makefile
index bf5396d05fe..cc7e707fbbb 100644
--- a/devel/capstone/patches/patch-Makefile
+++ b/devel/capstone/patches/patch-Makefile
@@ -1,10 +1,12 @@
-$NetBSD: patch-Makefile,v 1.1 2015/07/28 12:48:14 sevan Exp $
+$NetBSD: patch-Makefile,v 1.2 2016/02/20 11:40:30 jperkin Exp $
Unbreak build on FreeBSD and DragonflyBSD.
Patch accepted upstream:
https://github.com/aquynh/capstone/commit/453b41a29ed7f02f8319329cc86853d394b85a1e
+Fix install_name on Darwin.
+
--- Makefile.orig 2015-07-15 07:44:42.000000000 +0000
+++ Makefile
@@ -70,12 +70,18 @@ LIBDIRARCH ?= lib
@@ -26,6 +28,15 @@ https://github.com/aquynh/capstone/commit/453b41a29ed7f02f8319329cc86853d394b85a
INSTALL_BIN ?= install
INSTALL_DATA ?= $(INSTALL_BIN) -m0644
+@@ -248,7 +254,7 @@ IS_APPLE := $(shell $(CC) -dM -E - < /de
+ ifeq ($(IS_APPLE),1)
+ EXT = dylib
+ VERSION_EXT = $(API_MAJOR).$(EXT)
+-$(LIBNAME)_LDFLAGS += -dynamiclib -install_name lib$(LIBNAME).$(VERSION_EXT) -current_version $(PKG_MAJOR).$(PKG_MINOR).$(PKG_EXTRA) -compatibility_version $(PKG_MAJOR).$(PKG_MINOR)
++$(LIBNAME)_LDFLAGS += -dynamiclib -install_name ${LIBDIR}/lib$(LIBNAME).$(VERSION_EXT) -current_version $(PKG_MAJOR).$(PKG_MINOR).$(PKG_EXTRA) -compatibility_version $(PKG_MAJOR).$(PKG_MINOR)
+ AR_EXT = a
+ # Homebrew wants to make sure its formula does not disable FORTIFY_SOURCE
+ # However, this is not really necessary because 'CAPSTONE_USE_SYS_DYN_MEM=yes' by default
@@ -463,4 +469,3 @@ define generate-pkgcfg
echo 'Libs: -L$${libdir} -lcapstone' >> $(PKGCFGF)
echo 'Cflags: -I$${includedir}' >> $(PKGCFGF)