summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortnn <tnn>2008-05-30 11:01:15 +0000
committertnn <tnn>2008-05-30 11:01:15 +0000
commit627ee3f981ff819bc3a0ce7169d77633d3afa60e (patch)
tree2c96fa5138aa26e6fca0a73d4c53419ffdd7c443
parent823e232f1be32155837c131440c1661772217700 (diff)
downloadpkgsrc-627ee3f981ff819bc3a0ce7169d77633d3afa60e.tar.gz
Put back the definition of MONO_SHARED_DIR in the bl3.mk, because it is
needed to build gtk-sharp and gnome-sharp, and possibly other mono packages with a readonly home dir. Discussed with wiz@ and kefren@
-rw-r--r--lang/mono/Makefile.common4
-rw-r--r--lang/mono/buildlink3.mk3
2 files changed, 3 insertions, 4 deletions
diff --git a/lang/mono/Makefile.common b/lang/mono/Makefile.common
index 675066bbf53..35091cccf7c 100644
--- a/lang/mono/Makefile.common
+++ b/lang/mono/Makefile.common
@@ -1,6 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2008/04/25 08:14:20 kefren Exp $
+# $NetBSD: Makefile.common,v 1.3 2008/05/30 11:01:15 tnn Exp $
# used by lang/mono/Makefile
MONO_VERSION= 1.9.1
-
-ALL_ENV+= MONO_SHARED_DIR=${WRKDIR:Q}
diff --git a/lang/mono/buildlink3.mk b/lang/mono/buildlink3.mk
index 99af260537f..2aaf2a4aebd 100644
--- a/lang/mono/buildlink3.mk
+++ b/lang/mono/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.26 2008/04/19 18:42:10 kefren Exp $
+# $NetBSD: buildlink3.mk,v 1.27 2008/05/30 11:01:15 tnn Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MONO_BUILDLINK3_MK:= ${MONO_BUILDLINK3_MK}+
@@ -14,6 +14,7 @@ BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mono
.if ${MONO_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.mono+= mono>=1.9
BUILDLINK_PKGSRCDIR.mono?= ../../lang/mono
+ALL_ENV+= MONO_SHARED_DIR=${WRKDIR:Q}
.endif # MONO_BUILDLINK3_MK
.include "../../devel/glib2/buildlink3.mk"