From owner-freebsd-gnome@FreeBSD.ORG Sun Nov 29 15:10:03 2009 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 598A0106568F for ; Sun, 29 Nov 2009 15:10:03 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from cp-out2.libero.it (cp-out2.libero.it [212.52.84.102]) by mx1.freebsd.org (Postfix) with ESMTP id E09208FC1D for ; Sun, 29 Nov 2009 15:10:02 +0000 (UTC) Received: from libero.it (192.168.33.220) by cp-out2.libero.it (8.5.107) id 4B0C5A87003FB2E5 for gnome@FreeBSD.org; Sun, 29 Nov 2009 16:10:01 +0100 Date: Sun, 29 Nov 2009 16:10:01 +0100 Message-Id: MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "barbara" To: "gnome" X-XaM3-API-Version: 4.3 (R1) (B3pl25) X-SenderIP: 87.9.34.210 Cc: Subject: graphics/librsvg2: build fail using WITH_MOZILLA_PLUGIN X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2009 15:10:03 -0000 Trying to install librsvg2-2.26.0_2, I've got an error using WITH_MOZILLA= _PLUGIN. Without that option it builds as expected. ---------------------------------------------------------------- Making all in moz-plugin gmake[2]: Entering directory `/usr/ports/graphics/librsvg2/work/librsvg-2= .26.0/moz-plugin' /bin/sh /usr/ports/graphics/librsvg2/work/gnome-libtool --tag=3DCC --mo= de=3Dcompile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/libxul/stab= le -I/usr/local/include/nspr -DBINDIR=3D\"/usr/local/bin/\" -D_REENTRAN= T -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -D_TH= READ_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -= I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/c= airo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/u= sr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local= /include -O2 -pipe -fno-strict-aliasing -march=3Dathlon-mp -MT moz-plugi= n.lo -MD -MP -MF .deps/moz-plugin.Tpo -c -o moz-plugin.lo moz-plugin.c gnome-libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include= /libxul/stable -I/usr/local/include/nspr -DBINDIR=3D\"/usr/local/bin/\" -= D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/inclu= de -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/i= nclude -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/i= nclude/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/incl= ude -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/l= ocal/include -O2 -pipe -fno-strict-aliasing -march=3Dathlon-mp -MT moz-pl= ugin.lo -MD -MP -MF .deps/moz-plugin.Tpo -c moz-plugin.c -fPIC -DPIC -o = .libs/moz-plugin.o gnome-libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include= /libxul/stable -I/usr/local/include/nspr -DBINDIR=3D\"/usr/local/bin/\" -= D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/inclu= de -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/i= nclude -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/i= nclude/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/incl= ude -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/l= ocal/include -O2 -pipe -fno-strict-aliasing -march=3Dathlon-mp -MT moz-pl= ugin.lo -MD -MP -MF .deps/moz-plugin.Tpo -c moz-plugin.c -o moz-plugin.o = >/dev/null 2>&1 mv -f .deps/moz-plugin.Tpo .deps/moz-plugin.Plo /bin/sh /usr/ports/graphics/librsvg2/work/gnome-libtool --tag=3DCC --mo= de=3Dlink cc -O2 -pipe -fno-strict-aliasing -march=3Dathlon-mp -module -= avoid-version -L/usr/local/lib -o libmozsvgdec.la -rpath moz-plugin.lo = -pthread -L/usr/local/lib -lgthread-2.0 -lglib-2.0 gmake[2]: Leaving directory `/usr/ports/graphics/librsvg2/work/librsvg-2.= 26.0/moz-plugin' gmake[1]: Leaving directory `/usr/ports/graphics/librsvg2/work/librsvg-2.= 26.0' *** Error code 1 Stop in /usr/ports/graphics/librsvg2. *** Error code 1 Stop in /usr/ports/graphics/librsvg2. ---------------------------------------------------------------- It seems that the path after "-rpath" is missing. Looking at the differences between Makefile.in.bak and Makefile.in in wor= k/librsvg-2.26.0/moz-plugin, I think the the problem is the removal of th= e inclusion of Makefile.webplugins, because ${WEBPLUGINS_DIR} would be ""= in post-patch phase. So this could be the patch: ---------------------------------------------------------------- --- Makefile.orig 2009-11-28 21:05:44.000000000 +0100 +++ Makefile 2009-11-29 15:30:47.000000000 +0100 @@ -49,6 +49,7 @@ USE_GECKO=3D libxul seamonkey USE_WEBPLUGINS=3D gecko19 WEBPLUGINS_FILES=3Dlibmozsvgdec.so +.include "${PORTSDIR}/www/firefox/Makefile.webplugins" CONFIGURE_ENV+=3D MOZILLA_CONFIG=3Dno CONFIGURE_ARGS+=3D--enable-mozilla-plugin=3Dyes ---------------------------------------------------------------- Thanks Barbara