diff --git a/devel/capstone/Makefile b/devel/capstone/Makefile index 269ca0241aeb..ef8d174373ce 100644 --- a/devel/capstone/Makefile +++ b/devel/capstone/Makefile @@ -1,31 +1,32 @@ PORTNAME= capstone DISTVERSION= 5.0.1 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= bofh@FreeBSD.org COMMENT= Multi-platform, multi-architecture disassembly framework WWW= http://capstone-engine.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.TXT USES= cpe gmake CPE_VENDOR= ${PORTNAME}-engine USE_GITHUB= yes GH_ACCOUNT= capstone-engine 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= capstone CONFLICTS_BUILD= capstone[34] pre-test: # Disable broken tests. @${REINPLACE_CMD} -E 's|^(check:.*)fuzzallcorp|\1|' ${WRKSRC}/Makefile .include diff --git a/devel/capstone/files/patch-Makefile b/devel/capstone/files/patch-Makefile new file mode 100644 index 000000000000..157051ed79f7 --- /dev/null +++ b/devel/capstone/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2023-08-22 16:03:55 UTC ++++ Makefile +@@ -503,7 +503,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: