From aa0b53b617bc4f700abc4cccfe844fb2a35b3f11 Mon Sep 17 00:00:00 2001 From: jasper Date: Sat, 30 Jun 2007 11:39:46 +0000 Subject: [PATCH] when NO_BUILD is defined, don't set BUILD_DEPENDS or bother pulling in libtool. --- x11/gnome/gnome.port.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/x11/gnome/gnome.port.mk b/x11/gnome/gnome.port.mk index 96b910f17ad..497a1ae48e0 100644 --- a/x11/gnome/gnome.port.mk +++ b/x11/gnome/gnome.port.mk @@ -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}/}