summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2009-11-15 15:40:01 +0000
committerdrochner <drochner@pkgsrc.org>2009-11-15 15:40:01 +0000
commit28329d39b4edff988319462bb182d3d0787cc63d (patch)
tree8bfab105b3fc4dccc36523e734434128c0e1b15d /graphics
parent92d9bf11285ada6f6f904cf86a7c12b43e45fe90 (diff)
downloadpkgsrc-28329d39b4edff988319462bb182d3d0787cc63d.tar.gz
make gnome-vfs support optional, suggested by David Demelier
per PR pkg/41997
Diffstat (limited to 'graphics')
-rw-r--r--graphics/inkscape/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile
index 1dc0747018e..ab31cb55c57 100644
--- a/graphics/inkscape/Makefile
+++ b/graphics/inkscape/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2009/08/26 19:57:44 sno Exp $
+# $NetBSD: Makefile,v 1.44 2009/11/15 15:40:01 drochner Exp $
DISTNAME= inkscape-0.46
PKGREVISION= 5
@@ -33,6 +33,18 @@ BUILDLINK_API_DEPENDS.poppler+= poppler>=0.5.9
UNLIMIT_RESOURCES= datasize
+PKG_OPTIONS_VAR= PKG_OPTIONS.inkscape
+PKG_SUPPORTED_OPTIONS= gnome
+PKG_SUGGESTED_OPTIONS= gnome
+
+.include "../../mk/bsd.options.mk"
+
+# gnome-vfs support for the inkscape file open window.
+.if !empty(PKG_OPTIONS:Mgnome)
+CONFIGURE_ARGS+= --with-gnome-vfs
+.include "../../sysutils/gnome-vfs/buildlink3.mk"
+.endif
+
.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
@@ -43,7 +55,6 @@ UNLIMIT_RESOURCES= datasize
.include "../../print/poppler-glib/buildlink3.mk"
.include "../../print/poppler-includes/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
-.include "../../sysutils/gnome-vfs/buildlink3.mk"
.include "../../textproc/gtkspell/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"