diff options
author | Dima Panov <fluffy@FreeBSD.org> | 2022-10-27 22:52:07 +0000 |
---|---|---|
committer | Dima Panov <fluffy@FreeBSD.org> | 2022-10-27 22:52:07 +0000 |
commit | dacc9b51345392cecd7253f660af4670a5b6acd7 (patch) | |
tree | c2fe608f06b04fd156c9f849df36a9940ae73a51 | |
parent | e1d29071f3ae2d8056a1462fe0490f4ddb5d39a3 (diff) | |
download | ports-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/Makefile | 4 |
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= * |