From 9dabe1d8cea3a6d44c85325128b78b1b65d926e5 Mon Sep 17 00:00:00 2001 From: brad Date: Sun, 7 Apr 2002 17:25:36 +0000 Subject: [PATCH] change the way dependencies are checked to the way XMMS does it. -- Patch from: Marc Matteo --- graphics/gdk-pixbuf/Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/graphics/gdk-pixbuf/Makefile b/graphics/gdk-pixbuf/Makefile index 91bb80d587e..f4d5b29c5ef 100644 --- a/graphics/gdk-pixbuf/Makefile +++ b/graphics/gdk-pixbuf/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.13 2002/03/26 04:14:34 brad Exp $ +# $OpenBSD: Makefile,v 1.14 2002/04/07 17:25:36 brad Exp $ COMMENT= "GdkPixbuf graphics library" COMMENT-gnome= "GdkPixbuf graphics library (GNOME Canvas)" @@ -48,18 +48,18 @@ LIB_DEPENDS+= jpeg.62::graphics/jpeg \ tiff.35.::graphics/tiff \ gtk.1.2,gdk.1.2::x11/gtk+ -.if !defined(PACKAGING) || ${SUBPACKAGE} == "-gnome" +.if defined(PACKAGING) +. if ${SUBPACKAGE} == "-gnome" LIB_DEPENDS+= gnome.36,art_lgpl,gnomesupport,gnomeui::x11/gnome/libs -.endif - -.if defined(PACKAGING) && ${SUBPACKAGE} == "-gnome" -LIB_DEPENDS+= gdk_pixbuf.2::graphics/gdk-pixbuf +. endif +.else +. if ${MULTI_PACKAGES:M-gnome} +LIB_DEPENDS+= gnome.36,art_lgpl,gnomesupport,gnomeui::x11/gnome/libs +. endif .endif .if ${MULTI_PACKAGES:M-gnome} CONFIGURE_ARGS+= --with-gnome -.else -CONFIGURE_ARGS+= --without-gnome .endif pre-patch: