Ignore:
Timestamp:
Mar 14, 2014, 6:50:39 AM (5 years ago)
Author:
jeremyhu@…
Message:

capstone: Version bump to 2.1.1 (#42804)

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

Legend:

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

    r117652 r117826  
    55
    66name                capstone
    7 version             2.1
     7version             2.1.1
    88categories          devel
    99platforms           darwin
     
    1919extract.suffix      .tgz
    2020
    21 checksums           sha256  5ebc168212a159218a4454c72d0c060b8a8af78605b93b214b3d6c5e2a124896 \
    22                     rmd160  47b9a1949b7c82ec235dcb96a81d456f3b18eae6
     21checksums           sha256  8af3c0a0f439d516277f308938935003d072f34a34fcf2e8dcf07dd415b1ca65 \
     22                    rmd160  ae65771d182feef575fd4a19bc597170ba42ebcf
    2323
    2424patchfiles          patch-Makefile.diff
  • trunk/dports/devel/capstone/files/patch-Makefile.diff

    r117652 r117826  
    1 --- Makefile.org        2014-03-04 18:18:25.000000000 -0800
    2 +++ Makefile    2014-03-04 18:27:48.000000000 -0800
    3 @@ -21,20 +21,24 @@
     1--- Makefile.org        2014-03-10 23:12:11.000000000 -0700
     2+++ Makefile    2014-03-10 23:33:10.000000000 -0700
     3@@ -22,20 +22,24 @@
    44 CFLAGS += -DUSE_SYS_DYN_MEM
    55 endif
     
    2323+LIBDIR = $(PREFIX)/lib
    2424 # on x86_64, we might have /usr/lib64 directory instead of /usr/lib
    25 -MACHINE := $(shell uname -m)
    26 -ifeq ($(MACHINE), x86_64)
    27 +UNAME_M := $(shell uname -m)
    28 +ifeq ($(UNAME_M),x86_64)
     25 UNAME_M := $(shell uname -m)
     26 ifeq ($(UNAME_M), x86_64)
    2927 ifeq (,$(wildcard $(LIBDIR)))
    3028-LIBDIR = $(DESTDIR)$(PREFIX)/lib64
     
    3533 endif
    3634 
    37 @@ -136,21 +140,10 @@
    38  LIBOBJ += $(LIBOBJ_ARM) $(LIBOBJ_ARM64) $(LIBOBJ_MIPS) $(LIBOBJ_PPC) $(LIBOBJ_X86)
     35@@ -138,7 +142,6 @@
    3936 LIBOBJ += MCInst.o
    4037 
    41 -
     38 
    4239-UNAME_S := $(shell uname -s)
    43 -PKGCFCGDIR = $(LIBDIR)/pkgconfig
    44 -
     40 PKGCFCGDIR = $(LIBDIR)/pkgconfig
     41 
    4542 # OSX?
    46  ifeq ($(UNAME_S),Darwin)
    47  EXT = dylib
    48  AR_EXT = a
     43@@ -149,13 +152,6 @@
     44 # remove string check because OSX kernel complains about missing symbols
     45 CFLAGS += -D_FORTIFY_SOURCE=0
     46 endif
    4947-# By default, suppose that Brew is installed & use Brew path for pkgconfig file
    5048-PKGCFCGDIR = /usr/local/lib/pkgconfig
     
    5755 # Cygwin?
    5856 IS_CYGWIN := $(shell $(CC) -dumpmachine | grep -i cygwin | wc -l)
    59 @@ -228,25 +221,25 @@
    60         echo 'Description: Capstone disassembler engine' >> $(PKGCFGF)
    61         echo 'Version: $(VERSION)' >> $(PKGCFGF)
     57@@ -237,25 +233,25 @@
     58        echo 'Version: $(PKG_MAJOR).$(PKG_MINOR).$(PKG_EXTRA)' >> $(PKGCFGF)
     59 endif
    6260        echo 'libdir=$(LIBDIR)' >> $(PKGCFGF)
    6361-       echo 'includedir=$(PREFIX)/include/capstone' >> $(PKGCFGF)
     
    8078+       mkdir -p $(DESTDIR)$(INCDIR)/$(LIBNAME)
    8179+       $(INSTALL_DATA) include/*.h $(DESTDIR)$(INCDIR)/$(LIBNAME)
    82 +       mkdir -p $(DESTDIR)$(LIBDIR)/pkgconfig
    83 +       $(INSTALL_DATA) $(PKGCFGF) $(DESTDIR)$(LIBDIR)/pkgconfig/
     80+       mkdir -p $(DESTDIR)$(PKGCFCGDIR)
     81+       $(INSTALL_DATA) $(PKGCFGF) $(DESTDIR)$(PKGCFCGDIR)/
    8482 
    8583 uninstall:
     
    9189+       rm -f $(DESTDIR)$(LIBDIR)/lib$(LIBNAME).$(EXT)
    9290+       rm -f $(DESTDIR)$(LIBDIR)/lib$(LIBNAME).$(AR_EXT)
    93 +       rm -f $(DESTDIR)$(LIBDIR)/pkgconfig/$(LIBNAME).pc
     91+       rm -f $(DESTDIR)$(PKGCFCGDIR)/$(LIBNAME).pc
    9492 
    9593 clean:
Note: See TracChangeset for help on using the changeset viewer.