[142835] trunk/dports/devel/capstone

g5pw at macports.org g5pw at macports.org
Sat Dec 12 07:26:15 PST 2015


Revision: 142835
          https://trac.macports.org/changeset/142835
Author:   g5pw at macports.org
Date:     2015-11-24 03:48:57 -0800 (Tue, 24 Nov 2015)
Log Message:
-----------
devel/capstone:
  fix install_name
  maintainer bypass (port broken)

Modified Paths:
--------------
    trunk/dports/devel/capstone/Portfile
    trunk/dports/devel/capstone/files/patch-Makefile.diff

Modified: trunk/dports/devel/capstone/Portfile
===================================================================
--- trunk/dports/devel/capstone/Portfile	2015-11-24 10:00:35 UTC (rev 142834)
+++ trunk/dports/devel/capstone/Portfile	2015-11-24 11:48:57 UTC (rev 142835)
@@ -5,6 +5,7 @@
 
 name                capstone
 version             3.0.4
+revision            1
 categories          devel
 platforms           darwin
 maintainers         gmail.com:aquynh

Modified: trunk/dports/devel/capstone/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/capstone/files/patch-Makefile.diff	2015-11-24 10:00:35 UTC (rev 142834)
+++ trunk/dports/devel/capstone/files/patch-Makefile.diff	2015-11-24 11:48:57 UTC (rev 142835)
@@ -1,8 +1,11 @@
 --- a/Makefile
 +++ b/Makefile
-@@ -250,14 +250,6 @@ EXT = dylib
+@@ -248,14 +248,6 @@ EXT = dylib
+ 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 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/b1d4b4d1/attachment.html>


More information about the macports-changes mailing list