Date: Mon, 23 Apr 2012 02:49:32 +0800 (CST) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Cc: gnome@FreeBSD.org Subject: [PATCH] textproc/libxml2: respect WITHOUT_ICONV Message-ID: <3VbKbc3hxGz56V@sunpoet.net>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Sunpoet Po-Chuan Hsieh >Organization: The FreeBSD Project >Confidential: no >Synopsis: [PATCH] textproc/libxml2: respect WITHOUT_ICONV >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 9.0-STABLE amd64 >Environment: System: FreeBSD bonjour.sunpoet.net 9.0-STABLE FreeBSD 9.0-STABLE #0: Mon Mar 19 09:07:46 CST 2012 >Description: - Respect WITHOUT_ICONV Without this patch, LIBXML_ICONV_ENABLED will be defined by ${LOCALBASE}/include/libxml2/libxml/xmlversion.h. While building some ports (e.g. textproc/p5-XML-LibXML) which include <libxml/encoding.h>, it leads to a compile error of missing header <iconv.h>. Port maintainer (gnome@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_5 (mode: change, diff: CVS) >How-To-Repeat: >Fix: --- libxml2-2.7.8_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/libxml2/Makefile,v retrieving revision 1.177 diff -u -u -r1.177 Makefile --- Makefile 16 Mar 2012 09:02:36 -0000 1.177 +++ Makefile 22 Apr 2012 18:43:27 -0000 @@ -40,6 +40,8 @@ .if !defined(WITHOUT_ICONV) USE_ICONV= yes CONFIGURE_ARGS+=--with-iconv=${LOCALBASE} +.else +CONFIGURE_ARGS+=--with-iconv=no .endif .if !defined(MASTERDIR) --- libxml2-2.7.8_2.patch ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3VbKbc3hxGz56V>