Date: Tue, 4 Dec 2001 17:53:36 -0200 From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> To: freebsd-ports@freebsd.org Cc: gnome@FreeBSD.org Subject: [lioux@FreeBSD.org: Fixing xml2-config] Message-ID: <20011204195358.79913.qmail@exxodus.fedaykin.here>
next in thread | raw e-mail | index | archive | help
----- Forwarded message from Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.= org> ----- From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> To: gnome@FreeBSD.org Date: Mon, 26 Nov 2001 19:22:13 -0200 Message-ID: <20011126192213.A43061@exxodus.fedaykin.here> Subject: Fixing xml2-config User-Agent: Mutt/1.2.5i Hi, Working with ogle developers, I noticed that I have to set CPPFLAGS=3D"-I${LOCALBASE}/include" since it depends on libxml2. However, since libxml2 ships xml2-config this shouldn't be necessary. I need the CPPFLAGS since it can't find giconv.h. Checking the libxml2 port configure.in, I saw that there are provisings there to put the location of libiconv header in xml2-config --cflags output. However, so that this happen, --with-iconv has to be set WITH a value. :) Output of `xml2-config --cflags` before -I/usr/local/include/libxml2/libxml -I/usr/local/include/libxml2 after -I/usr/local/include/libxml2/libxml -I/usr/local/include/libxml2 -I/usr/loc= al/include Just a simple patch, "shouldn't" break anything but .... :) This should help with many ports setting CPPFLAGS. Regards, --=20 Mario S F Ferreira - DF - Brazil - "I guess this is a signature." Computer Science Undergraduate | FreeBSD Committer | CS Developer flames to beloved devnull@someotherworldbeloworabove.org feature, n: a documented bug | bug, n: an undocumented feature --- Makefile.orig Mon Nov 26 19:08:52 2001 +++ Makefile Mon Nov 26 19:09:03 2001 @@ -20,7 +20,7 @@ GNU_CONFIGURE=3D yes INSTALLS_SHLIB=3D yes =20 -CONFIGURE_ARGS=3D --with-iconv \ +CONFIGURE_ARGS=3D --with-iconv=3D${LOCALBASE} \ --with-html-dir=3D${PREFIX}/share/doc CONFIGURE_ENV=3D CPPFLAGS=3D"-I${LOCALBASE}/include" \ LIBS=3D"-L${LOCALBASE}/lib" ----- End forwarded message ----- --=20 Mario S F Ferreira - DF - Brazil - "I guess this is a signature." Computer Science Undergraduate | FreeBSD Committer | CS Developer flames to beloved devnull@someotherworldbeloworabove.org feature, n: a documented bug | bug, n: an undocumented feature To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011204195358.79913.qmail>