Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2022 22:55:40 GMT
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: dacc9b513453 - main - games/freeciv: properly link with libiconv (+)
Message-ID:  <202210272255.29RMteNx043163@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dacc9b51345392cecd7253f660af4670a5b6acd7

commit dacc9b51345392cecd7253f660af4670a5b6acd7
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-10-27 22:52:07 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-10-27 22:52:07 +0000

    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
---
 games/freeciv/Makefile | 4 ++--
 1 file 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=	*
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210272255.29RMteNx043163>