mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 05:30:31 -04:00
Last update of ports/emulators/fmsx occured more than 3 years ago. A few version were issued since then, recent is 2.7 that is significantly improved. Some of port patches are integrated. - Added patch to use sys/soundcard.h - Added patch to be able to select the BPP level (BPP32 didn't work on my machine, see http://www.msx.org/newspost149.html for info) PR: ports/60825 Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru> Reviewed by: edwin@mavetju.org Approved by: maintainer timeout
26 lines
1.1 KiB
Text
26 lines
1.1 KiB
Text
--- Makefile.orig Mon Dec 31 20:01:16 2001
|
|
+++ Makefile Sat Feb 28 11:20:12 2004
|
|
@@ -51,10 +51,10 @@
|
|
# If you are getting linker errors about not found X11 functions,
|
|
# change the -L/usr/X11R6/lib to the directory where X11
|
|
# libraries libX11.* and libXext.* are located on your system.
|
|
-CC = gcc
|
|
-DEFINES = -DFMSX -DUNIX -DLSB_FIRST -DDEBUG -DMITSHM \
|
|
- -DDISK -DNARROW -DSOUND -DBPP16 -DZLIB
|
|
-CFLAGS = -O3 -Wall -I/usr/X11R6/include -L/usr/X11R6/lib ${DEFINES}
|
|
+CC ?= gcc
|
|
+DEFINES = -DFMSX -DUNIX -DLSB_FIRST -DMITSHM \
|
|
+ -DDISK -DNARROW -DSOUND -D%%BPP%% -DZLIB
|
|
+CFLAGS = -O3 -Wall -I${X11BASE}/include -L${X11BASE}/lib ${DEFINES}
|
|
OBJECTS = fMSX.o MSX.o Patch.o Debug.o Disk.o Sound.o \
|
|
Z80.o I8255.o AY8910.o YM2413.o SCC.o V9938.o I8251.o \
|
|
Unix.o LibUnix.o SndUnix.o
|
|
@@ -71,7 +71,7 @@
|
|
# fMSX Unix/X requires X11 libraries. See note above if you are
|
|
# experiencing any problems.
|
|
fmsx: ${OBJECTS}
|
|
- ${CC} ${CFLAGS} -o fmsx ${OBJECTS} -lXext -lX11 -lz
|
|
+ ${CC} ${CFLAGS} -o fmsx ${OBJECTS} -lXext -lX11 -L${X11BASE}/lib -lz
|
|
|
|
# Clean up.
|
|
clean:
|