pkgsrc-Bugs archive

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

pkg/36341: make librsvg2 respect the gnome option



>Number:         36341
>Category:       pkg
>Synopsis:       make librsvg2 respect the gnome option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue May 15 08:10:00 +0000 2007
>Originator:     Yorick Hardy
>Release:        NetBSD 4.99.16
>Organization:
>Environment:
System: NetBSD yorick 4.99.16 NetBSD 4.99.16 (HPNX6310DRMcurrent) #0: Sun Apr 8 
20:20:02 SAST 2007 
root@yorick:/var/tmp/build/objcur/sys/arch/i386/compile/HPNX6310DRMcurrent i386
Architecture: i386
Machine: i386
>Description:
librsvg2 does not respect the gnome option
>How-To-Repeat:
>Fix:
--- graphics/librsvg2/Makefile.orig     2007-04-27 00:51:30.000000000 +0200
+++ graphics/librsvg2/Makefile  2007-04-27 09:22:23.000000000 +0200
@@ -38,16 +38,22 @@
 BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.11.0
 BUILDLINK_API_DEPENDS.gtk2+=   gtk2+>=2.6.0
 
+.include "../../mk/bsd.options.mk"
+
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/libgsf/buildlink3.mk"
 .include "../../devel/pango/buildlink3.mk"
 .include "../../graphics/cairo/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../fonts/fontconfig/buildlink3.mk"
-.include "../../print/libgnomeprint/buildlink3.mk"
-.include "../../print/libgnomeprintui/buildlink3.mk"
+.if !empty(PKG_OPTIONS:Mgnome)
+. include "../../print/libgnomeprint/buildlink3.mk"
+. include "../../print/libgnomeprintui/buildlink3.mk"
+.endif
 BUILDLINK_API_DEPENDS.libcroco+=       libcroco>=0.6.1
-.include "../../sysutils/gnome-vfs2/buildlink3.mk"
+.if !empty(PKG_OPTIONS:Mgnome)
+. include "../../sysutils/gnome-vfs2/buildlink3.mk"
+.endif
 .include "../../textproc/libcroco/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../x11/gtk2/modules.mk"
--- graphics/librsvg2/buildlink3.mk.orig        2007-04-27 00:51:39.000000000 
+0200
+++ graphics/librsvg2/buildlink3.mk     2007-04-27 09:22:47.000000000 +0200
@@ -17,8 +17,12 @@
 BUILDLINK_PKGSRCDIR.librsvg2?= ../../graphics/librsvg2
 .endif # LIBRSVG2_BUILDLINK3_MK
 
+.include "../../mk/bsd.options.mk"
+
 .include "../../devel/libgsf/buildlink3.mk"
-.include "../../print/libgnomeprintui/buildlink3.mk"
+.if !empty(PKG_OPTIONS:Mgnome)
+. include "../../print/libgnomeprintui/buildlink3.mk"
+.endif
 .include "../../textproc/libcroco/buildlink3.mk"
 
 BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH:S/+$//}




Home | Main Index | Thread Index | Old Index