From b0d56a1e529307844341f7da272c5fa680248727 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Mon, 8 Jun 2009 16:42:45 +0000 Subject: [PATCH] Slight change in the way DEPENDS are handled in the gconf2 MODULE. This will help fixing a dependency issue reported by kili@ in gstreamer-plugins-good. ok kili@ --- devel/gconf2/gconf2.port.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/devel/gconf2/gconf2.port.mk b/devel/gconf2/gconf2.port.mk index 67f212c47fb..55d3e6b5979 100644 --- a/devel/gconf2/gconf2.port.mk +++ b/devel/gconf2/gconf2.port.mk @@ -1,18 +1,20 @@ -# $OpenBSD: gconf2.port.mk,v 1.1 2009/06/07 05:27:58 ajacoutot Exp $ +# $OpenBSD: gconf2.port.mk,v 1.2 2009/06/08 16:42:45 ajacoutot Exp $ MODGCONF2_LIB_DEPENDS= gconf-2::devel/gconf2 MODGCONF2_BUILD_DEPENDS=:gconf2-*:devel/gconf2 MODGCONF2_RUN_DEPENDS= :gconf2-*:devel/gconf2 MODGCONF2_LIBDEP?= Yes +MODGCONF2_RUNDEP?= Yes .if ${MODGCONF2_LIBDEP:L} == "yes" LIB_DEPENDS+= ${MODGCONF2_LIB_DEPENDS} -.else -BUILD_DEPENDS+= ${MODGCONF2_BUILD_DEPENDS} +.elif ${MODGCONF2_RUNDEP:L} == "yes" RUN_DEPENDS+= ${MODGCONF2_RUN_DEPENDS} .endif +BUILD_DEPENDS+= ${MODGCONF2_BUILD_DEPENDS} + .if defined(MODGCONF2_SCHEMAS_DIR) SCHEMAS_INSTDIR=share/schemas/${MODGCONF2_SCHEMAS_DIR:L} SUBST_VARS+= SCHEMAS_INSTDIR