summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/neverball/Makefile3
-rw-r--r--games/neverball/files/patch-Makefile2
-rw-r--r--games/pokerth/Makefile2
-rw-r--r--games/stepmania-devel/Makefile2
-rw-r--r--games/tuxmath/Makefile2
5 files changed, 6 insertions, 5 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
+
diff --git a/games/pokerth/Makefile b/games/pokerth/Makefile
index 42892cf4afca..ce5c3883757e 100644
--- a/games/pokerth/Makefile
+++ b/games/pokerth/Makefile
@@ -39,7 +39,7 @@ MAN1= pokerth.1
post-patch:
@${REINPLACE_CMD} -E \
-e 's|/usr([a-z|/]*)|${LOCALBASE}/\1|g' \
- -e 's|(-lcurl)|\1 -liconv|g' \
+ -e 's|(-lcurl)|\1 ${ICONV_LIB}|g' \
-e 's:boost_([a-z]+)-[-|a-z|0-9|_]*:boost_\1:g' \
-e 's|LIB_DIRS =.*|LIB_DIRS = ${LOCALBASE}/lib|g' \
-e '/.*QMAKE_CXXFLAGS.*/d' \
diff --git a/games/stepmania-devel/Makefile b/games/stepmania-devel/Makefile
index 95bafeeed97f..5d8ac8017de7 100644
--- a/games/stepmania-devel/Makefile
+++ b/games/stepmania-devel/Makefile
@@ -56,7 +56,7 @@ CONFIGURE_ARGS+=--without-vorbis
post-patch:
@${REINPLACE_CMD} -e \
- '/^LIBS/s|-lpthread|-liconv|' ${WRKSRC}/src/Makefile.in
+ '/^LIBS/s|-lpthread|${ICONV_LIB}|' ${WRKSRC}/src/Makefile.in
pre-build:
@${ECHO_CMD} -n > ${WRKDIR}/stepmania.sh
diff --git a/games/tuxmath/Makefile b/games/tuxmath/Makefile
index 44cf1aae92f2..555d69a11a5a 100644
--- a/games/tuxmath/Makefile
+++ b/games/tuxmath/Makefile
@@ -31,7 +31,7 @@ CONFIGURE_ENV= T4K_COMMON_CFLAGS="-I${T4K_WRKSRC}/src" \
CPPFLAGS+= $$(pkg-config --cflags SDL_Pango) -I${LOCALBASE}/include \
-DHAVE_ALPHASORT -DHAVE_SCANDIR -DHAVE_FSYNC -DICONV_CONST=""
-LDFLAGS+= $$(pkg-config --libs SDL_Pango) -L${LOCALBASE}/lib -liconv -lpng15
+LDFLAGS+= $$(pkg-config --libs SDL_Pango) -L${LOCALBASE}/lib ${ICONV_LIB} -lpng15
T4K_NAME= t4k_common
T4K_VERSION= 0.1.1