opnsense-ports/games/pipepanic/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

17 lines
359 B
Text

--- Makefile.orig Wed May 17 00:11:29 2006
+++ Makefile Sat May 20 18:49:20 2006
@@ -3,11 +3,10 @@
TARGET=pipepanic
# Settings for x86.
-CC=gcc
-CFLAGS=-O2 -Wall -pedantic `sdl-config --cflags`
-LINK=gcc
+CFLAGS+=`$(SDL_CONFIG) --cflags`
+LINK=$(CC)
LDFLAGS=
-LIBS=`sdl-config --libs`
+LIBS=`$(SDL_CONFIG) --libs`
all:
$(CC) $(CFLAGS) -c $(SOURCES)