aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2022-10-27 22:52:07 +0000
committerDima Panov <fluffy@FreeBSD.org>2022-10-27 22:52:07 +0000
commitdacc9b51345392cecd7253f660af4670a5b6acd7 (patch)
treec2fe608f06b04fd156c9f849df36a9940ae73a51
parente1d29071f3ae2d8056a1462fe0490f4ddb5d39a3 (diff)
downloadports-dacc9b51345392cecd7253f660af4670a5b6acd7.tar.gz
ports-dacc9b51345392cecd7253f660af4670a5b6acd7.zip
games/freeciv: properly link with libiconv (+)
By default, Mk/Uses/iconv.mk do not add ICONV_LIB to LDFLAGS. Pass it via port Makefile Reported by: Bob Melson via email
-rw-r--r--games/freeciv/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile
index 72da01fc47f8..f7070e3572f2 100644
--- a/games/freeciv/Makefile
+++ b/games/freeciv/Makefile
@@ -1,6 +1,6 @@
PORTNAME= freeciv
PORTVERSION= 3.0.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/freeciv/Freeciv%20${PORTVERSION:R}/${PORTVERSION} \
http://files.freeciv.org/stable/
@@ -30,7 +30,7 @@ CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \
--enable-mapimg=no \
--enable-shared
-LDFLAGS+= -Wl,--as-needed
+LDFLAGS+= -Wl,--as-needed ${ICONV_LIB}
PORTDATA= *