summaryrefslogtreecommitdiff
path: root/emulators/z80pack/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/z80pack/files/patch-Makefile')
-rw-r--r--emulators/z80pack/files/patch-Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/emulators/z80pack/files/patch-Makefile b/emulators/z80pack/files/patch-Makefile
new file mode 100644
index 000000000000..bc337c955163
--- /dev/null
+++ b/emulators/z80pack/files/patch-Makefile
@@ -0,0 +1,30 @@
+--- Makefile.orig 2024-06-01 14:02:02 UTC
++++ Makefile
+@@ -1,6 +1,6 @@ PACKAGE = z80pack
+ PACKAGE = z80pack
+-PREFIX = $(HOME)
+-#PREFIX = /usr/local
++#PREFIX = $(HOME)
++PREFIX = /usr/local
+ EXEC_PREFIX = $(PREFIX)
+ BINDIR = $(EXEC_PREFIX)/bin
+ DATAROOTDIR = $(PREFIX)/share
+@@ -109,12 +109,12 @@ install:
+ FORCE:
+
+ install:
+-# @set -e; for subdir in $(TOOLS) $(LIBS) $(BIOSES) $(MISC); do \
+-# $(MAKE) -C $$subdir "PREFIX=$(PREFIX)" install; \
+-# done
+-# @set -e; for subdir in $(MACHINES); do \
+-# $(MAKE) -C $$subdir/srcsim "PREFIX=$(PREFIX)" install; \
+-# done
++ @set -e; for subdir in $(TOOLS) $(LIBS) $(BIOSES) $(MISC); do \
++ $(MAKE) -C $$subdir "PREFIX=$(PREFIX)" install; \
++ done
++ @set -e; for subdir in $(MACHINES); do \
++ $(MAKE) -C $$subdir/srcsim "PREFIX=$(PREFIX)" install; \
++ done
+
+ uninstall:
+ # @set -e; for subdir in $(TOOLS) $(LIBS) $(BIOSES) $(MISC); do \