From 2ea6d63a2273881b025e93762dc42a4ae4aef243 Mon Sep 17 00:00:00 2001 From: robert Date: Mon, 5 Apr 2010 10:39:35 +0000 Subject: [PATCH] Move lang/mono dependency to mono.port.mk --- lang/mono/Makefile | 4 +++- lang/mono/mono.port.mk | 9 ++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/lang/mono/Makefile b/lang/mono/Makefile index 34236bcfc05..38fe0362e7b 100644 --- a/lang/mono/Makefile +++ b/lang/mono/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.35 2010/04/05 01:02:57 robert Exp $ +# $OpenBSD: Makefile,v 1.36 2010/04/05 10:39:35 robert Exp $ # sync with net/avahi,-mono ONLY_FOR_ARCHS= amd64 i386 powerpc # arm @@ -33,6 +33,8 @@ EXTRACT_SUFX= .tar.bz2 MODULES= devel/gettext \ lang/mono +MODMONO_DEPS= No + USE_LIBTOOL= Yes USE_GMAKE= Yes diff --git a/lang/mono/mono.port.mk b/lang/mono/mono.port.mk index 801b3fbb8fc..c283823d4a7 100644 --- a/lang/mono/mono.port.mk +++ b/lang/mono/mono.port.mk @@ -1,4 +1,4 @@ -# $OpenBSD: mono.port.mk,v 1.8 2010/04/05 01:15:00 robert Exp $ +# $OpenBSD: mono.port.mk,v 1.9 2010/04/05 10:39:35 robert Exp $ ONLY_FOR_ARCHS?= i386 amd64 powerpc @@ -7,6 +7,13 @@ CATEGORIES+= lang/mono CONFIGURE_ENV+= MONO_SHARED_DIR=${TMPDIR} MAKE_FLAGS+= MONO_SHARED_DIR=${TMPDIR} +MODMONO_DEPS?= Yes + +.if ${MODMONO_DEPS:L} != "no" +BUILD_DEPENDS+= ::lang/mono +RUN_DEPENDS+= ::lang/mono +.endif + # A list of files where we have to remove the stupid hardcoded .[0-9] major # version from library names. DLLMAP_FILES?=