1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

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
This commit is contained in:
Dima Panov 2022-10-28 01:52:07 +03:00
parent e1d29071f3
commit dacc9b5134

View File

@ -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= *