Add a BUILD_DEPENDS on textproc/itstool in the MODGNOME_TOOLS "yelp"

case. This is likely to become needed more and more (itstool is the
successor to xml2po).

ok jasper@
This commit is contained in:
ajacoutot 2011-09-27 11:37:52 +00:00
parent 10eb0cd8c4
commit 00be26c118

View File

@ -1,4 +1,4 @@
# $OpenBSD: gnome.port.mk,v 1.47 2011/09/20 20:59:25 ajacoutot Exp $
# $OpenBSD: gnome.port.mk,v 1.48 2011/09/27 11:37:52 ajacoutot Exp $
#
# Module for GNOME related ports
#
@ -38,7 +38,8 @@ FAKE_FLAGS += itlocaledir="${PREFIX}/share/locale/"
# * yelp: Use this if there are any files under share/gnome/help/
# in the pkg list and it calls gnome_help_display() -- gnome-doc-utils is
# here to make sure we have a dependency on rarian (scrollkeeper-*) and
# have access to the gnome-doc-* tools (not always needed but easier).
# have access to the gnome-doc-* tools (not always needed but easier);
# same goes with itstool.
#
# Please note that if you're using multi-packages, you have to use the
# MODGNOME_RUN_DEPENDS_${tool} in your multi package RUN_DEPENDS.
@ -64,6 +65,7 @@ MODGNOME_CONFIGURE_ARGS_vala=--disable-vala
. endif
. if ${MODGNOME_TOOLS:Myelp}
MODGNOME_BUILD_DEPENDS+=textproc/itstool
MODGNOME_BUILD_DEPENDS+=x11/gnome/doc-utils
_yelp_depend=x11/gnome/yelp
MODGNOME_RUN_DEPENDS+=${_yelp_depend}