pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/37947: Fix for Gimp option handling in buildlink.mk.
>Number: 37947
>Category: pkg
>Synopsis: Fix for Gimp option handling in buildlink.mk.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 03 22:05:00 +0000 2008
>Originator: Adam Hoka
>Release: NetBSD 4.0
>Organization:
>Environment:
NetBSD 4.0, pkgsrc current
>Description:
Gimp lacks option handling in buildlink.mk, and makes xsane fail to build when
"gnome" option is set.
>How-To-Repeat:
Set gimp to use gnome (and thus gtkhtml) and try to compile xsane.
Itt will ask for gtkhtml.
>Fix:
Index: buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/gimp/buildlink3.mk,v
retrieving revision 1.23
diff -u -r1.23 buildlink3.mk
--- buildlink3.mk 18 Jan 2008 05:06:39 -0000 1.23
+++ buildlink3.mk 3 Feb 2008 14:56:23 -0000
@@ -17,17 +17,32 @@
BUILDLINK_PKGSRCDIR.gimp?= ../../graphics/gimp
.endif # GIMP_BUILDLINK3_MK
+pkgbase := libmikmod
+.include "../../mk/pkg-build-options.mk"
+
+.if !empty(PKG_OPTIONS:Maalib)
+.include "../../graphics/aalib/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mgnome)
+.include "../../www/libgtkhtml/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mmng)
+.include "../../graphics/mng/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Msvg)
+.include "../../graphics/librsvg/buildlink3.mk"
+.endif
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
-.include "../../graphics/aalib/buildlink3.mk"
.include "../../graphics/lcms/buildlink3.mk"
.include "../../graphics/libart/buildlink3.mk"
.include "../../graphics/libexif/buildlink3.mk"
-.include "../../graphics/librsvg/buildlink3.mk"
-.include "../../graphics/mng/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/libwmf/buildlink3.mk"
-.include "../../www/libgtkhtml/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
Home |
Main Index |
Thread Index |
Old Index