freebsd-ports/games/xrick/files/patch-Makefile
Adam Weinberger 7c9b83e1ec Update to 021212.
PR:		50508
Submitted by:	David Siebörger <drs@rucus.ru.ac.za> (maintainer)
2003-04-02 05:09:34 +00:00

22 lines
877 B
Text

--- Makefile.orig Tue Dec 24 18:58:26 2002
+++ Makefile Mon Mar 31 22:28:45 2003
@@ -15,7 +15,7 @@
# Vars
#
-SDLVERSION=$(shell sdl-config --version 2>/dev/null)
+SDLVERSION=$(shell sdl11-config --version 2>/dev/null)
ROOTDIR=$(shell pwd)
TARGET=$(shell uname -s | tr [a-z] [A-Z])
@@ -71,8 +71,8 @@
all:
@echo "ROOTDIR=$(ROOTDIR)" > Makefile.global
@echo "XOBJ=$(XOBJ)" >> Makefile.global
- @echo "CFLAGS=-g -ansi -pedantic -Wall -W -O2 -I $(ROOTDIR)/include $(shell sdl-config --cflags)" >> Makefile.global
- @echo "LDFLAGS=-lz $(shell sdl-config --libs)" >> Makefile.global
+ @echo "CFLAGS=-g -ansi -pedantic -Wall -W -O2 -I $(ROOTDIR)/include $(shell sdl11-config --cflags)" >> Makefile.global
+ @echo "LDFLAGS=-lz $(shell sdl11-config --libs)" >> Makefile.global
@echo "CC=gcc" >> Makefile.global
@echo "CPP=gcc -E" >> Makefile.global
$(MAKE) -C src all