pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/inkscape make gnome-vfs support optional, sug...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/61608869a99a
branches:  trunk
changeset: 567343:61608869a99a
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Sun Nov 15 15:40:01 2009 +0000

description:
make gnome-vfs support optional, suggested by David Demelier
per PR pkg/41997

diffstat:

 graphics/inkscape/Makefile |  15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r ce5bf74ceb2b -r 61608869a99a graphics/inkscape/Makefile
--- a/graphics/inkscape/Makefile        Sun Nov 15 15:09:46 2009 +0000
+++ b/graphics/inkscape/Makefile        Sun Nov 15 15:40:01 2009 +0000
@@ -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 @@
 
 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 @@
 .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"



Home | Main Index | Thread Index | Old Index