aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/z80pack/files/patch-cpmsim_srcsim_Makefile
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /emulators/z80pack/files/patch-cpmsim_srcsim_Makefile
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'emulators/z80pack/files/patch-cpmsim_srcsim_Makefile')
-rw-r--r--emulators/z80pack/files/patch-cpmsim_srcsim_Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/emulators/z80pack/files/patch-cpmsim_srcsim_Makefile b/emulators/z80pack/files/patch-cpmsim_srcsim_Makefile
new file mode 100644
index 000000000000..60d1a96a1a40
--- /dev/null
+++ b/emulators/z80pack/files/patch-cpmsim_srcsim_Makefile
@@ -0,0 +1,24 @@
+--- cpmsim/srcsim/Makefile.orig 2024-06-01 14:02:02 UTC
++++ cpmsim/srcsim/Makefile
+@@ -13,7 +13,7 @@ CPROG = $(MACHINE)sim
+ # http://www.gnu.org/prep/standards/html_node/Directory-Variables.html
+ PACKAGE = z80pack
+ CPROG = $(MACHINE)sim
+-PREFIX ?= /usr/local
++PREFIX = /usr/local
+ EXEC_PREFIX = $(PREFIX)
+ BINDIR = $(EXEC_PREFIX)/bin
+ DATAROOTDIR = $(PREFIX)/share
+@@ -103,8 +103,10 @@ install: $(SIM)
+ build: _rm_obj all
+
+ install: $(SIM)
+-# $(INSTALL) -d $(DESTDIR)$(BINDIR)
+-# $(INSTALL_PROGRAM) -s $(SIM) $(DESTDIR)$(BINDIR)
++ $(INSTALL) -d $(DESTDIR)$(BINDIR)
++ $(INSTALL_PROGRAM) -s $(SIM) $(DESTDIR)$(BINDIR)
++ $(INSTALL) -d $(DESTDIR)$(DISKS_DIR)
++ $(INSTALL_PROGRAM) ../disks/library/*.dsk $(DESTDIR)$(DISKS_DIR)
+
+ uninstall:
+ # rm -f $(DESTDIR)$(BINDIR)/$(CPROG)