hasufell-repository/packages/games-strategy/ja2-stracciatella/files/ja2-stracciatella-0.14.01-makefile.patch

23 lines
1.1 KiB
Diff

Author: Julian Ospald <hasufell@posteo.de>
Upstream: not yet
Reason: Fix install permissions
diff --git a/Makefile b/Makefile
index 27ef953..cc1e2cd 100644
--- a/Makefile
+++ b/Makefile
@@ -610,11 +610,11 @@ install: $(BINARY)
test -z "$(INSTALLABLE)" || install -d $(BINARY_DIR)
test -z "$(INSTALLABLE)" || install -d $(MANPAGE_DIR)
test -z "$(INSTALLABLE)" || install -d $(FULL_PATH_EXTRA_DATA_DIR)
- test -z "$(INSTALLABLE)" || install -m 555 $(BINARY) $(BINARY_DIR)
+ test -z "$(INSTALLABLE)" || install -m 755 $(BINARY) $(BINARY_DIR)
test -z "$(INSTALLABLE)" || cp -r externalized $(FULL_PATH_EXTRA_DATA_DIR)
test -z "$(INSTALLABLE)" || cp -r mods $(FULL_PATH_EXTRA_DATA_DIR)
test -z "$(INSTALLABLE)" || cp -r _unittests $(FULL_PATH_EXTRA_DATA_DIR)
- test -z "$(INSTALLABLE)" || install -m 444 ja2_manpage $(MANPAGE_DIR)/ja2.6
+ test -z "$(INSTALLABLE)" || install -m 644 ja2_manpage $(MANPAGE_DIR)/ja2.6
@test -n "$(INSTALLABLE)" || echo "------------------------------------------------------------------------------"
@test -n "$(INSTALLABLE)" || echo "This build doesn't support installation."