From owner-freebsd-gnome@FreeBSD.ORG Wed Apr 10 19:06:47 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 213CD94D for ; Wed, 10 Apr 2013 19:06:47 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id BE02C283; Wed, 10 Apr 2013 19:06:46 +0000 (UTC) Message-ID: <5165B7A4.3070201@FreeBSD.org> Date: Wed, 10 Apr 2013 15:04:04 -0400 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130408 Thunderbird/17.0.5 MIME-Version: 1.0 To: John Hein Subject: Re: libxml2 no longer compiles. References: <32001-1365614867-937938@sneakemail.com> <5165AC67.2000206@FreeBSD.org> <4190-1365620354-590871@sneakemail.com> In-Reply-To: <4190-1365620354-590871@sneakemail.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gnome@freebsd.org, William Palfreman 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 19:06:47 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-04-10 14:59:10 -0400, John Hein wrote: > 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 see. > 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). Correct. > 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). Just add "--with-lzma=/usr" to CONFIGURE_ARGS. Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJRZbekAAoJECXpabHZMqHODYwH/3JSpI928oaVks8LbyoZXYVu JBZzpEtTn3XkV+mAdWGSu0v7BzFI8hyGZGzSYceciklRR1jcj0Lb00hHgyfKFyLz bBNPJSmwaIbTcqthsw2j/lFpVDzRJnFKIb2kiXEZRyE6OHT/h/+xtLwqzKBpqzli haSll68wPKYiH3FlAcxcCYgyVF2fatvw2N49ng6UZ1e1XoUkyvwGvtRim6xiKuYq QyElFkhuCRMKeO0p7CHqpiY0+ZNmLvxnhgb7Bg8IzcPt/E2ZUnPxpcekr7myrA7H 908M5HuqIfA6pUOwtVQPteGutwlBdGl9XXffjguUhVvR9LJNsl45R+mhr7Ye+qE= =Bjsz -----END PGP SIGNATURE-----