1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

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
This commit is contained in:
John Hein 2023-09-24 12:37:50 +02:00 committed by Muhammad Moinur Rahman
parent 875fa76a25
commit 5cc34cf266
2 changed files with 12 additions and 0 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= capstone
PORTVERSION= 4.0.2
PORTREVISION= 1
CATEGORIES= devel
PKGNAMESUFFIX= 4

View File

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