1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/emulators/fceux/files/patch-Makefile.unixsdl
Maho Nakata 746dc443ee 1. delete pkg-message: this file slipped in by mistake.
2. fix pkg-plist for version 0.96
3. move message for WITH_OPTIMIZED_FLAGS to correct place
4. delete -mcpu=i686 -march=i686:
	Not all i386 is i686.
	cpu dependent optimize is done by CPUTYPE.
5. change fix for non-i386 arch

PR:		54686
Submitted by:	HIYAMA Takeshi <gibbon@cocoa.freemail.ne.jp> (maintainer)
2003-07-23 17:37:17 +00:00

19 lines
964 B
Plaintext

--- Makefile.unixsdl.orig Fri Jun 20 12:50:03 2003
+++ Makefile.unixsdl Mon Jul 21 07:53:48 2003
@@ -1,5 +1,5 @@
CC = gcc
-TFLAGS = -DFRAMESKIP -DSTDIOIFACE -DUNIXDSP -DNETWORK -DFPS `sdl-config --cflags` -mcpu=i686 -O2 -Izlib -fomit-frame-pointer -DC80x86 -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB
+TFLAGS = -DFRAMESKIP -DSTDIOIFACE -DUNIXDSP -DNETWORK -DFPS `%%LOCALBASE%%/bin/sdl11-config --cflags` -Izlib -fomit-frame-pointer -DC80x86 -DLSB_FIRST -DSDL -DUNIX -DPSS_STYLE=1 -DZLIB
RM = rm -f
B = drivers/cli/
@@ -9,7 +9,7 @@
include zlib/Makefile
OBJDRIVER = ${B}sdl.o ${B}interface.o ${B}main.o ${B}sdl-throttle.o ${B}unix-netplay.o ${B}sdl-sound.o ${B}sdl-video.o ${B}sdl-joystick.o drivers/common/cheat.o drivers/common/config.o drivers/common/args.o drivers/common/vidblit.o drivers/common/unixdsp.o ${UNZIPOBJS}
-LDRIVER = -lm `sdl-config --libs` -lz
+LDRIVER = -lm `%%LOCALBASE%%/bin/sdl11-config --libs` -lz
include Makefile.base