ports/devel/capstone/files/patch-Makefile
John Hein b242d6d26f 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
2023-09-05 06:56:13 +02:00

11 lines
302 B
Text

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