From 6ea207d134e133a359eb8bbf6e08c0d0c7279b52 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Thu, 8 Apr 2010 13:36:13 +0000 Subject: [PATCH] Add MODMONO_{BUILD,RUN}_DEPENDS so other ports can use it. ok robert@ --- lang/mono/mono.port.mk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lang/mono/mono.port.mk b/lang/mono/mono.port.mk index c283823d4a7..a2f8e0759cb 100644 --- a/lang/mono/mono.port.mk +++ b/lang/mono/mono.port.mk @@ -1,4 +1,4 @@ -# $OpenBSD: mono.port.mk,v 1.9 2010/04/05 10:39:35 robert Exp $ +# $OpenBSD: mono.port.mk,v 1.10 2010/04/08 13:36:13 ajacoutot Exp $ ONLY_FOR_ARCHS?= i386 amd64 powerpc @@ -7,11 +7,14 @@ CATEGORIES+= lang/mono CONFIGURE_ENV+= MONO_SHARED_DIR=${TMPDIR} MAKE_FLAGS+= MONO_SHARED_DIR=${TMPDIR} +MODMONO_BUILD_DEPENDS= ::lang/mono +MODMONO_RUN_DEPENDS= ::lang/mono + MODMONO_DEPS?= Yes .if ${MODMONO_DEPS:L} != "no" -BUILD_DEPENDS+= ::lang/mono -RUN_DEPENDS+= ::lang/mono +BUILD_DEPENDS+= ${MODMONO_BUILD_DEPENDS} +RUN_DEPENDS+= ${MODMONO_RUN_DEPENDS} .endif # A list of files where we have to remove the stupid hardcoded .[0-9] major