graphics/inkscape fails to build

bobf bobf at mrp3.com
Thu Jan 6 19:44:48 UTC 2011


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
-------------- next part --------------
--- 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



More information about the freebsd-gnome mailing list