1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/games/jigzo/files/patch-Makefile
Martin Wilke 884dfcb847 - Update to 0.6
PR:		123610
Submitted by:	Dmitry Marakasov <amdmi3@amdmi3.ru> (maintainer)
2008-05-16 12:27:22 +00:00

26 lines
518 B
Plaintext

--- Makefile.orig 2008-05-07 02:26:41.000000000 +0400
+++ Makefile 2008-05-07 04:10:55.000000000 +0400
@@ -19,7 +19,7 @@
ARCH_OK = yes
endif
-ifeq "$(ARCH_OK)" "yes"
+ifeq "yes" "yes"
#
# The given ARCH is correct
#
@@ -28,8 +28,11 @@
# Variables
#
-CXXFLAGS = -g $(ARCHCXXFLAGS) -DENABLE_SOUND
-LDFLAGS = -O2 $(ARCHLDFLAGS)
+STRIP = strip
+APP = jigzo
+
+CXXFLAGS += `$(SDL_CONFIG) --cflags` -DENABLE_SOUND
+LDFLAGS += `$(SDL_CONFIG) --libs` -lGL -lpng -ljpeg -lSDL_mixer
#
# List of all source files.