aboutsummaryrefslogtreecommitdiffstats
path: root/games/freeciv
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2013-09-05 04:01:05 +0800
committerbsam <bsam@FreeBSD.org>2013-09-05 04:01:05 +0800
commit7b5950ceb07fbf7baff9cf5f999cb870df39056d (patch)
tree293dcbc9c7e5b5460095f0f0b868e1ead9528ded /games/freeciv
parentce8f3833463574b1140cd020d12c0b68cfcb0d83 (diff)
downloadfreebsd-ports-graphics-7b5950ceb07fbf7baff9cf5f999cb870df39056d.tar.gz
freebsd-ports-graphics-7b5950ceb07fbf7baff9cf5f999cb870df39056d.tar.zst
freebsd-ports-graphics-7b5950ceb07fbf7baff9cf5f999cb870df39056d.zip
Introduce ICONV_CONFIGURE_ARG variable defined at Uses/iconv.mk.
It's value is "--with-libiconv-prefix=/usr/local" for systems before 100043 with ports libiconv and to use at systems post 100043 with base iconv it's value is "" (NULL). Co-authors: bapt, madpilot and bsam (me)
Diffstat (limited to 'games/freeciv')
-rw-r--r--games/freeciv/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile
index 1fe685e602d..87d11e62f39 100644
--- a/games/freeciv/Makefile
+++ b/games/freeciv/Makefile
@@ -11,12 +11,12 @@ COMMENT= Free turn-based multiplayer strategy
RUN_DEPENDS= hicolor-icon-theme>=0:${PORTSDIR}/misc/hicolor-icon-theme
-USES= gettext gmake pkgconfig
+USES= gettext gmake iconv pkgconfig
USE_BZIP2= yes
USE_PYTHON= yes
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ARGS= --with-libiconv-prefix=${PREFIX} --program-transform-name=
+CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} --program-transform-name=
MAN6= freeciv-server.6 freeciv-client.6 \
freeciv-xaw.6 freeciv-sdl.6 freeciv-gtk2.6 \