Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jan 2011 11:13:59 -0800
From:      bobf <bobf@mrp3.com>
To:        gnome@FreeBSD.org
Subject:   graphics/inkscape fails to build
Message-ID:  <4D261477.1060403@mrp3.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------090809010209020306000803
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

graphics/inkscape fails to build.

The problem can be corrected by adding the following line to Makefile after 
including 'bsd.port.pre.mk'.

+CFLAGS+= -I${LOCALBASE}/include/libwpg-0.1 -I${LOCALBASE}/include/libwpd-0.8


(sorry if it line-wraps)

patch file attached

--------------090809010209020306000803
Content-Type: text/plain;
 name="inkscape.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="inkscape.patch"

--- Makefile.orig	2011-01-05 23:20:45.000000000 -0800
+++ Makefile	2011-01-06 10:59:28.000000000 -0800
@@ -44,8 +44,12 @@
 
 OPTIONS=	POPPLER	"Enable libpoppler-cairo for rendering PDF preview" on
 
+
 .include <bsd.port.pre.mk>
 
+# added for include path to libwpg01 and libwpd08
+CFLAGS+= -I${LOCALBASE}/include/libwpg-0.1 -I${LOCALBASE}/include/libwpd-0.8
+
 .if ${HAVE_GNOME:Mgnomevfs2} != ""
 USE_GNOME+=		gnomevfs2
 CONFIGURE_ARGS+=	--with-gnome-vfs


--------------090809010209020306000803--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D261477.1060403>