pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/capstone capstone: Fix install_name on Darwin.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3918b47599d6
branches:  trunk
changeset: 770707:3918b47599d6
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Dec 07 16:34:44 2021 +0000

description:
capstone: Fix install_name on Darwin.

diffstat:

 devel/capstone/distinfo               |   3 ++-
 devel/capstone/patches/patch-Makefile |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 0e8fc4dd2899 -r 3918b47599d6 devel/capstone/distinfo
--- a/devel/capstone/distinfo   Tue Dec 07 12:42:15 2021 +0000
+++ b/devel/capstone/distinfo   Tue Dec 07 16:34:44 2021 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.15 2021/10/26 10:14:22 nia Exp $
+$NetBSD: distinfo,v 1.16 2021/12/07 16:34:44 jperkin Exp $
 
 BLAKE2s (capstone-4.0.2.tar.gz) = d3767b622f0a91b3f38a24817097975ecbf4126b3118b6059dfa4a8b12d01f61
 SHA512 (capstone-4.0.2.tar.gz) = 7f93534517307b737422a8825b66b2a1f3e1cca2049465d60ab12595940154aaf843ba40ed348fce58de58b990c19a0caef289060eb72898cb008a88c470970e
 Size (capstone-4.0.2.tar.gz) = 3439542 bytes
+SHA1 (patch-Makefile) = a96441309efa54cb8ec1beacb44891f981b0db3e
 SHA1 (patch-bindings_python_capstone_____init____.py) = ea410a99d4cd4ee0a109a7225b739971472c387d
 SHA1 (patch-bindings_python_setup.py) = aebe4104ece594a7432961dd07c5d739da70f963
 SHA1 (patch-cstool_Makefile) = 68dd0a175d0e2270e2813f784cae5ca9f89a3a05
diff -r 0e8fc4dd2899 -r 3918b47599d6 devel/capstone/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/capstone/patches/patch-Makefile     Tue Dec 07 16:34:44 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.4 2021/12/07 16:34:44 jperkin Exp $
+
+Fix install_name on Darwin.
+
+--- Makefile.orig      2020-05-08 10:03:30.000000000 +0000
++++ Makefile
+@@ -284,7 +284,7 @@ LDFLAGS += $(foreach arch,$(LIBARCHS),-a
+ endif
+ 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 ${PREFIX}/lib/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



Home | Main Index | Thread Index | Old Index