aboutsummaryrefslogtreecommitdiff
path: root/games/neverball/files
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2009-02-06 23:51:06 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2009-02-06 23:51:06 +0000
commit02b6d3e5bac07ccc815684b510e057e59b8801b4 (patch)
tree12682cd3c03ad46bf9cd91c6406224eb932e1a2b /games/neverball/files
parentf408386284c51008986386086ea1e66ec44566e8 (diff)
downloadports-02b6d3e5bac07ccc815684b510e057e59b8801b4.tar.gz
ports-02b6d3e5bac07ccc815684b510e057e59b8801b4.zip
Notes
Diffstat (limited to 'games/neverball/files')
-rw-r--r--games/neverball/files/patch-Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/games/neverball/files/patch-Makefile b/games/neverball/files/patch-Makefile
new file mode 100644
index 000000000000..81bc814bf6de
--- /dev/null
+++ b/games/neverball/files/patch-Makefile
@@ -0,0 +1,28 @@
+--- Makefile.orig 2009-01-29 16:39:11.000000000 -0600
++++ Makefile 2009-02-05 21:25:57.000000000 -0600
+@@ -12,6 +12,10 @@
+ DARWIN := 1
+ endif
+
++ifeq ($(shell uname), FreeBSD)
++ FREEBSD := 1
++endif
++
+ #------------------------------------------------------------------------------
+ # Optional flags (CFLAGS, CPPFLAGS, ...)
+
+@@ -105,6 +109,14 @@
+ BASE_LIBS += -L/opt/local/lib
+ endif
+
++ifdef FREEBSD
++ BASE_LIBS += -L%%LOCALBASE%%/lib
++
++ ifneq ($(ENABLE_NLS),0)
++ INTL_LIBS := -lintl -liconv
++ endif
++endif
++
+ ALL_LIBS := $(SDL_LIBS) $(BASE_LIBS) $(TILT_LIBS) $(INTL_LIBS) -lSDL_ttf \
+ -lvorbisfile $(OGL_LIBS)
+