Ignore:
Timestamp:
Nov 29, 2014, 1:44:13 PM (4 years ago)
Author:
khindenburg@…
Message:

capstone: update to 3.0 per maintainer #45939

Location:
trunk/dports/devel/capstone
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/capstone/Portfile

    r118429 r128890  
    55
    66name                capstone
    7 version             2.1.2
     7version             3.0
    88categories          devel
    99platforms           darwin
     
    1919extract.suffix      .tgz
    2020
    21 checksums           sha256  49e41d662c5ed4dcd391ec4cfce75fb31ca4bfd245eba9e8f0cb69d6f6e8d7cc \
    22                     rmd160  c4a542752c1ffc6262507a799f96470e076429b9
     21checksums           rmd160  351ee783d2d18679d3db23e4b5e2ebe2b4d15f12 \
     22                    sha256  1deacc204f1b0b9df01b543cb1735bf8e857bc0783e6e4749c3760c62e0e7bf0
    2323
    2424patchfiles          patch-Makefile.diff
  • trunk/dports/devel/capstone/files/patch-Makefile.diff

    r118429 r128890  
    1 --- Makefile.org        2014-04-01 06:08:49.000000000 -0700
    2 +++ Makefile    2014-04-01 06:27:43.000000000 -0700
    3 @@ -163,19 +163,6 @@
     1--- Makefile
     2+++ Makefile
     3@@ -246,14 +246,6 @@ EXT = dylib
    44 VERSION_EXT = $(API_MAJOR).$(EXT)
    5  LDFLAGS += -dynamiclib -install_name lib$(LIBNAME).$(VERSION_EXT) -current_version $(PKG_MAJOR).$(PKG_MINOR).$(PKG_EXTRA) -compatibility_version $(PKG_MAJOR).$(PKG_MINOR)
     5 $(LIBNAME)_LDFLAGS += -dynamiclib -install_name lib$(LIBNAME).$(VERSION_EXT) -current_version $(PKG_MAJOR).$(PKG_MINOR).$(PKG_EXTRA) -compatibility_version $(PKG_MAJOR).$(PKG_MINOR)
    66 AR_EXT = a
     7-# Homebrew wants to make sure its formula does not disable FORTIFY_SOURCE
     8-# However, this is not really necessary because 'CAPSTONE_USE_SYS_DYN_MEM=yes' by default
    79-ifneq ($(HOMEBREW_CAPSTONE),1)
    8 -ifneq ($(USE_SYS_DYN_MEM),yes)
     10-ifneq ($(CAPSTONE_USE_SYS_DYN_MEM),yes)
    911-# remove string check because OSX kernel complains about missing symbols
    1012-CFLAGS += -D_FORTIFY_SOURCE=0
    1113-endif
    12 -# By default, suppose that Brew is installed & use Brew path for pkgconfig file
    13 -PKGCFCGDIR = /usr/local/lib/pkgconfig
    14 -# is Macport installed instead?
    15 -ifneq (,$(wildcard /opt/local/bin/port))
    16 -# then correct the path for pkgconfig file
    17 -PKGCFCGDIR = /opt/local/lib/pkgconfig
    18 -endif
    1914-endif
    2015 else
     16 $(LIBNAME)_LDFLAGS += -shared
    2117 # Cygwin?
    22  IS_CYGWIN := $(shell $(CC) -dumpmachine | grep -i cygwin | wc -l)
    23 @@ -239,15 +226,13 @@
    24         echo 'Version: $(PKG_MAJOR).$(PKG_MINOR).$(PKG_EXTRA)' >> $(PKGCFGF)
    25  endif
    26         echo 'libdir=$(LIBDIR)' >> $(PKGCFGF)
    27 -       echo 'includedir=$(PREFIX)/include/capstone' >> $(PKGCFGF)
    28 +       echo 'includedir=$(INCDIR)/capstone' >> $(PKGCFGF)
    29         echo 'archive=$${libdir}/libcapstone.a' >> $(PKGCFGF)
    30         echo 'Libs: -L$${libdir} -lcapstone' >> $(PKGCFGF)
    31         echo 'Cflags: -I$${includedir}' >> $(PKGCFGF)
    32  
    33  install: $(PKGCFGF) $(ARCHIVE) $(LIBRARY)
    34         mkdir -p $(LIBDIR)
    35 -       # remove potential broken old libs
    36 -       rm -f $(LIBDIR)/lib$(LIBNAME).*
    37         $(INSTALL_LIB) lib$(LIBNAME).$(EXT) $(LIBDIR)
    38  ifneq ($(VERSION_EXT),)
    39         cd $(LIBDIR) && \
Note: See TracChangeset for help on using the changeset viewer.