aboutsummaryrefslogtreecommitdiff
path: root/games/neverball
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2013-09-04 18:06:07 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2013-09-04 18:06:07 +0000
commit642be1b81d8342d3a3323f43bcf5a0bd87a5d363 (patch)
treef71b3671c7729b9cbc9368cea2f2fede7b20d5c8 /games/neverball
parentbcaced2c93b58d27ca266602f4049df6ba6becb3 (diff)
Notes
Diffstat (limited to 'games/neverball')
-rw-r--r--games/neverball/Makefile3
-rw-r--r--games/neverball/files/patch-Makefile2
2 files changed, 3 insertions, 2 deletions
diff --git a/games/neverball/Makefile b/games/neverball/Makefile
index eeac0d987529..b2f66c70f1ae 100644
--- a/games/neverball/Makefile
+++ b/games/neverball/Makefile
@@ -41,7 +41,8 @@ post-patch:
s|./locale|${PREFIX}/share/locale|g; \
s|sdl-config|${SDL_CONFIG}|g; \
s| -O2| ${CFLAGS}|g; \
- s|%%LOCALBASE%%|${LOCALBASE}|g' \
+ s|%%LOCALBASE%%|${LOCALBASE}|g; \
+ s|%%ICONV_LIB%%|${ICONV_LIB}|' \
${WRKSRC}/Makefile
do-install:
diff --git a/games/neverball/files/patch-Makefile b/games/neverball/files/patch-Makefile
index 81bc814bf6de..b5284cddd4f1 100644
--- a/games/neverball/files/patch-Makefile
+++ b/games/neverball/files/patch-Makefile
@@ -19,7 +19,7 @@
+ BASE_LIBS += -L%%LOCALBASE%%/lib
+
+ ifneq ($(ENABLE_NLS),0)
-+ INTL_LIBS := -lintl -liconv
++ INTL_LIBS := -lintl %%ICONV_LIB%%
+ endif
+endif
+