aboutsummaryrefslogtreecommitdiff
path: root/games/njam
diff options
context:
space:
mode:
Diffstat (limited to 'games/njam')
-rw-r--r--games/njam/Makefile1
-rw-r--r--games/njam/files/patch-Makefile4
2 files changed, 3 insertions, 2 deletions
diff --git a/games/njam/Makefile b/games/njam/Makefile
index ae73dfb92f72..beee8f73fd13 100644
--- a/games/njam/Makefile
+++ b/games/njam/Makefile
@@ -7,6 +7,7 @@
PORTNAME= njam
PORTVERSION= 1.21
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/games/njam/files/patch-Makefile b/games/njam/files/patch-Makefile
index 50e5241c9fb0..0f46e5cf3365 100644
--- a/games/njam/files/patch-Makefile
+++ b/games/njam/files/patch-Makefile
@@ -14,7 +14,7 @@
# If you hate warnings under Cygwin use these flags instead
# MY_CFLAGS = -I/usr/local/include/SDL -Dmain=SDL_main -DWIN32 -Uunix -mno-cygwin
-MY_CFLAGS = `sdl-config --cflags`
-+MY_CFLAGS += `sdl11-config --cflags`
++MY_CFLAGS += `sdl-config --cflags`
%.o: %.cpp
- $(CC) -O3 -c $(MY_CFLAGS) $< -o $@
@@ -24,7 +24,7 @@
$(PROGRAM): $(OBJECTS)
- $(CC) `sdl-config --libs` -o$(PROGRAM) $(OBJECTS) -lSDL -lSDL_mixer -lSDL_net -lSDL_image
-+ $(CC) `sdl11-config --libs` -o$(PROGRAM) $(OBJECTS) -lSDL_mixer -lSDL_net -lSDL_image
++ $(CC) `sdl-config --libs` -o$(PROGRAM) $(OBJECTS) -lSDL_mixer -lSDL_net -lSDL_image
clean:
$(RM) *.o