Skip to content

Commit

Permalink
games/freeciv: properly link with libiconv (+)
Browse files Browse the repository at this point in the history
By default, Mk/Uses/iconv.mk do not add ICONV_LIB to LDFLAGS.
Pass it via port Makefile

Reported by:	Bob Melson via email
  • Loading branch information
fluffykhv committed Oct 27, 2022
1 parent e1d2907 commit dacc9b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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/
Expand Down Expand Up @@ -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= *

Expand Down

0 comments on commit dacc9b5

Please sign in to comment.