diff --git a/devel/capstone4/Makefile b/devel/capstone4/Makefile index 08b5f2321050..89145cf731c8 100644 --- a/devel/capstone4/Makefile +++ b/devel/capstone4/Makefile @@ -1,34 +1,35 @@ PORTNAME= capstone PORTVERSION= 4.0.2 +PORTREVISION= 1 CATEGORIES= devel PKGNAMESUFFIX= 4 MAINTAINER= oleksii.tsai@gmail.com COMMENT= Multi-platform, multi-architecture disassembly framework WWW= http://capstone-engine.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.TXT CONFLICTS= capstone USES= cpe gmake CPE_VENDOR= ${PORTNAME}-engine USE_GITHUB= yes GH_ACCOUNT= aquynh USE_LDCONFIG= yes MAKE_ENV+= INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_LIB="${INSTALL_LIB}" TEST_ENV= ${MAKE_ENV} \ LD_LIBRARY_PATH=${STAGEDIR}${PREFIX}/lib TEST_TARGET= check CONFLICTS_BUILD= capstone3 pre-test: # Disable broken tests. @${REINPLACE_CMD} -E 's|^(check:.*)fuzzallcorp|\1|' ${WRKSRC}/Makefile .include diff --git a/devel/capstone4/files/patch-Makefile b/devel/capstone4/files/patch-Makefile new file mode 100644 index 000000000000..90a6a7cebf29 --- /dev/null +++ b/devel/capstone4/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2020-05-08 10:03:30 UTC ++++ Makefile +@@ -419,7 +419,7 @@ endif + $(INSTALL_DATA) $(PKGCFGF) $(PKGCFGDIR) + ifeq (,$(findstring yes,$(CAPSTONE_BUILD_CORE_ONLY))) + mkdir -p $(BINDIR) +- $(INSTALL_LIB) cstool/cstool $(BINDIR) ++ $(INSTALL_BIN) cstool/cstool $(BINDIR) + endif + + uninstall: