ports/devel/capstone4/files/patch-Makefile
John Hein 5cc34cf266 devel/capstone: Fix runtime permissions
bin/cstool is installed with 0644 perissions instead of 0755 which gives
permission denied error. This patch fixes this.

PR:		273570
Approved by:	maintainer-timeout
2023-09-24 12:40:23 +02:00

11 lines
302 B
Text

--- 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: