pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/capstone



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Dec  7 16:34:45 UTC 2021

Modified Files:
        pkgsrc/devel/capstone: distinfo
Added Files:
        pkgsrc/devel/capstone/patches: patch-Makefile

Log Message:
capstone: Fix install_name on Darwin.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/capstone/distinfo
cvs rdiff -u -r0 -r1.4 pkgsrc/devel/capstone/patches/patch-Makefile

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

Modified files:

Index: pkgsrc/devel/capstone/distinfo
diff -u pkgsrc/devel/capstone/distinfo:1.15 pkgsrc/devel/capstone/distinfo:1.16
--- pkgsrc/devel/capstone/distinfo:1.15 Tue Oct 26 10:14:22 2021
+++ pkgsrc/devel/capstone/distinfo      Tue Dec  7 16:34:44 2021
@@ -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

Added files:

Index: pkgsrc/devel/capstone/patches/patch-Makefile
diff -u /dev/null pkgsrc/devel/capstone/patches/patch-Makefile:1.4
--- /dev/null   Tue Dec  7 16:34:45 2021
+++ pkgsrc/devel/capstone/patches/patch-Makefile        Tue Dec  7 16:34:44 2021
@@ -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