Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2008 11:14:26 +1000
From:      Dima Panov <Fluffy@fluffy.khv.ru>
To:        obrien@freebsd.org, freebsd-ports-bugs@freebsd.org
Subject:   Re: ports/121722: teach net/rdesktop to use libiconv
Message-ID:  <200803171114.26633.Fluffy@fluffy.khv.ru>
In-Reply-To: <200803160517.m2G5H9vC012187@freefall.freebsd.org>
References:  <200803160517.m2G5H9vC012187@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 16 March 2008 15:17:09 obrien@freebsd.org wrote:
> Synopsis: teach net/rdesktop to use libiconv
>
> State-Changed-From-To: open->feedback
> State-Changed-By: obrien
> State-Changed-When: Sun Mar 16 05:16:29 UTC 2008
> State-Changed-Why:
> Many folks don't want Rdesktop build with iconv.
> Please make the patch optional.  Thanks.
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=121722

Index: net/rdesktop/Makefile
===================================================================
RCS file: /home/ncvs/ports/net/rdesktop/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- net/rdesktop/Makefile	23 Sep 2007 11:25:03 -0000	1.43
+++ net/rdesktop/Makefile	17 Mar 2008 01:10:57 -0000
@@ -22,6 +22,15 @@
 DOCS=		doc/AUTHORS doc/TODO doc/*.txt
 MAN1=		rdesktop.1
 
+OPTIONS=	ICONV		"Build with iconv recoding" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_ICONV)
+USE_ICONV=	yes
+CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE}
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/rdesktop ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/doc/rdesktop.1 ${MAN1PREFIX}/man/man1
@@ -32,4 +41,4 @@
 	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


-- 
Dmitry "Red Fox" Panov @ Home	           FreeBSD since September, 1995
Khabarovsk, Russia      YaIM:redfox_dm | Jabber.org:fluffy | ICQ:1745024




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