From owner-freebsd-gnome@FreeBSD.ORG Wed Apr 10 18:59:17 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 200AF6A9 for ; Wed, 10 Apr 2013 18:59:17 +0000 (UTC) (envelope-from gnome-jfbml@snkmail.com) Received: from sneak2.sneakemail.com (sneak2.sneakemail.com [38.113.6.65]) by mx1.freebsd.org (Postfix) with SMTP id A861D225 for ; Wed, 10 Apr 2013 18:59:16 +0000 (UTC) Received: (qmail 16953 invoked from network); 10 Apr 2013 18:59:15 -0000 Received: from unknown (HELO localhost.localdomain) (192.168.0.1) by sneak2.sneakemail.com with SMTP; 10 Apr 2013 18:59:15 -0000 Received: from 206.168.13.214 by mail.sneakemail.com with SMTP; 10 Apr 2013 18:59:15 -0000 Received: (sneakemail censored 4190-1365620354-590871 #2); 10 Apr 2013 18:59:15 -0000 Received: (sneakemail censored 4190-1365620354-590871 #1); 10 Apr 2013 18:59:15 -0000 Date: Wed, 10 Apr 2013 12:59:10 -0600 (MDT) Message-ID: <4190-1365620354-590871@sneakemail.com> From: "John Hein" To: gnome@freebsd.org To: "Jung-uk Kim" , "William Palfreman" , MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Re: libxml2 no longer compiles. In-Reply-To: <5165AC67.2000206@FreeBSD.org> References: <32001-1365614867-937938@sneakemail.com> <5165AC67.2000206@FreeBSD.org> X-Mailer: Perl5 Mail::Internet v X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Apr 2013 18:59:17 -0000 Jung-uk Kim wrote at 14:16 -0400 on Apr 10, 2013: > IMHO, we should get rid of CPPFLAGS and LDFLAGS altogether because > they serve no purpose here. Unfortunately, if you do that, the libxml2 build still fails with if lzmalib is installed. I agree that we can get rid of the ${LOCALBASE} parts of CPPFLAGS & LDFLAGS (the -I/usr/local/include and -L/usr/local/lib are added by configure due to --with-iconv). But we still need some way to deal with the lzmalib conflict by doing one of the other things I mentioned or force the use of the base lzma (or ??)... Index: textproc/libxml2/Makefile =================================================================== --- textproc/libxml2/Makefile (revision 315774) +++ textproc/libxml2/Makefile (working copy) @@ -28,8 +28,8 @@ --with-html-dir=${PREFIX}/share/doc \ --with-html-subdir=${PORTNAME} \ --without-python -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +CPPFLAGS+= -I/usr/include +LDFLAGS+= -L/usr/lib .if !defined(MASTERDIR) MAN1= xml2-config.1 xmllint.1 xmlcatalog.1 One other option would be to add a dependency on the ports version of archivers/lzma and force libxml2 to use that, but that seems like a waste when the one in base works fine (after freebsd 7.x of course).