aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/m2000/files/patch-Makefile.X
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-08-28 18:36:18 +0800
committeredwin <edwin@FreeBSD.org>2005-08-28 18:36:18 +0800
commitc949cbcc5e76e932c7c5843bf22e59c30c99a0bc (patch)
treeab8cb6d8dbb708c93919022defa6001ef1905db6 /emulators/m2000/files/patch-Makefile.X
parentc2952920c500f2dc9eb33b0d7b2fc70295f61218 (diff)
downloadfreebsd-ports-graphics-c949cbcc5e76e932c7c5843bf22e59c30c99a0bc.tar.gz
freebsd-ports-graphics-c949cbcc5e76e932c7c5843bf22e59c30c99a0bc.tar.zst
freebsd-ports-graphics-c949cbcc5e76e932c7c5843bf22e59c30c99a0bc.zip
[new port] emulators/m2000 - Philips P2000 emulator
P2000 Emulator - P2000T or P2000M model (P2000M emulation is buggy) - Support for 1 ROM cartridge - User-definable amount of RAM - One tape drive - Sound through PC Speaker or SoundBlaster (MS-DOS version), or USS(/Lite) /dev/dsp (Linux/SVGALib and Unix/X versions) - SAA5050 character rounding emulated in high resolution mode The tape files should be writable, otherwise the emulator won't load them. WWW: http://www.komkon.org/~dekogel/m2000.html PR: ports/85263 Submitted by: Edwin Groothuis <edwin@mavetju.org>
Diffstat (limited to 'emulators/m2000/files/patch-Makefile.X')
-rw-r--r--emulators/m2000/files/patch-Makefile.X39
1 files changed, 39 insertions, 0 deletions
diff --git a/emulators/m2000/files/patch-Makefile.X b/emulators/m2000/files/patch-Makefile.X
new file mode 100644
index 00000000000..955af5f915e
--- /dev/null
+++ b/emulators/m2000/files/patch-Makefile.X
@@ -0,0 +1,39 @@
+--- Makefile.X.orig Fri Feb 14 04:53:43 1997
++++ Makefile.X Wed Aug 24 16:01:47 2005
+@@ -18,14 +18,14 @@
+ # aware though, screen refresh is much slower when shared
+ # memory is not used
+
+-CC = gcc # C compiler used
+-LD = gcc # Linker used
++CC ?= gcc # C compiler used
++LD ?= gcc # Linker used
+
+-CFLAGS = -Wall -fomit-frame-pointer -O2 -I/usr/X11/include \
++CFLAGS += -Wall -fomit-frame-pointer -O2 -I${X11BASE}/include \
+ -DLSB_FIRST -DHAVE_FTRUNCATE -DHAVE_CLOCK -DUNIX_X \
+ -DSOUND -DMITSHM
+
+-LFLAGS = -s -L/usr/X11/lib
++LFLAGS += -L${X11BASE}/lib
+
+ OBJECTS = M2000.o P2000.o Z80.o Z80Debug.o \
+ Unix.o X.o
+@@ -33,13 +33,13 @@
+ all: m2000 fontc splitape z80dasm
+
+ m2000: $(OBJECTS)
+- $(LD) $(LFLAGS) -o m2000 $(OBJECTS) -lXext -lX11
++ $(CC) $(LFLAGS) -o m2000 $(OBJECTS) -lXext -lX11
+ fontc: fontc.o
+- $(LD) $(LFLAGS) -o fontc fontc.o
++ $(CC) $(LFLAGS) -o fontc fontc.o
+ splitape: splitape.o
+- $(LD) $(LFLAGS) -o splitape splitape.o
++ $(CC) $(LFLAGS) -o splitape splitape.o
+ z80dasm: Z80Dasm.o
+- $(LD) $(LFLAGS) -o z80dasm Z80Dasm.o
++ $(CC) $(LFLAGS) -o z80dasm Z80Dasm.o
+
+ M2000.o: M2000.c P2000.h Z80.h Help.h Z80IO.h
+ P2000.o: P2000.c P2000.h Z80.h Z80IO.h