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@
This commit is contained in:
ajacoutot 2009-06-08 16:42:45 +00:00
parent c57fe929b0
commit b0d56a1e52

View File

@ -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