when NO_BUILD is defined, don't set BUILD_DEPENDS or bother pulling in libtool.

This commit is contained in:
jasper 2007-06-30 11:39:46 +00:00
parent 0d319074d1
commit aa0b53b617

View File

@ -1,4 +1,4 @@
# $OpenBSD: gnome.port.mk,v 1.11 2007/06/29 21:49:04 jasper Exp $
# $OpenBSD: gnome.port.mk,v 1.12 2007/06/30 11:39:46 jasper Exp $
# Module for GNOME related ports
CATEGORIES+= x11/gnome
@ -6,12 +6,14 @@ CATEGORIES+= x11/gnome
DISTNAME= ${GNOME_PROJECT}-${GNOME_VERSION}
VERSION= ${GNOME_VERSION}
.if !defined(NO_BUILD)
USE_LIBTOOL?= Yes
BUILD_DEPENDS+= :intltool-*:textproc/intltool \
:p5-XML-Parser-*:textproc/p5-XML-Parser
.endif
MODGNOME_RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
BUILD_DEPENDS+= :intltool-*:textproc/intltool \
:p5-XML-Parser-*:textproc/p5-XML-Parser
RUN_DEPENDS+= ${MODGNOME_RUN_DEPENDS}
MASTER_SITES?= ${MASTER_SITE_GNOME:=sources/${GNOME_PROJECT}/${GNOME_VERSION:R}/}