summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/mono/Makefile3
-rw-r--r--lang/mono/buildlink3.mk4
-rw-r--r--lang/mono/distinfo3
-rw-r--r--lang/mono/patches/patch-aa25
4 files changed, 31 insertions, 4 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile
index a8358cf6b6f..ca7f8fe13f4 100644
--- a/lang/mono/Makefile
+++ b/lang/mono/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.27 2004/07/03 23:02:50 recht Exp $
+# $NetBSD: Makefile,v 1.28 2004/07/13 14:45:33 recht Exp $
#
DISTNAME= mono-1.0
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://mono2.ximian.com/archive/1.0/
diff --git a/lang/mono/buildlink3.mk b/lang/mono/buildlink3.mk
index da427e43160..4cb07c4d307 100644
--- a/lang/mono/buildlink3.mk
+++ b/lang/mono/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2004/07/03 23:02:50 recht Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2004/07/13 14:45:33 recht Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MONO_BUILDLINK3_MK:= ${MONO_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmono}
BUILDLINK_PACKAGES+= mono
.if !empty(MONO_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.mono+= mono>=1.0
+BUILDLINK_DEPENDS.mono+= mono>=1.0nb1
BUILDLINK_PKGSRCDIR.mono?= ../../lang/mono
.endif # MONO_BUILDLINK3_MK
diff --git a/lang/mono/distinfo b/lang/mono/distinfo
index 5d02dddf52e..e6e4af4db92 100644
--- a/lang/mono/distinfo
+++ b/lang/mono/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.15 2004/07/03 23:02:50 recht Exp $
+$NetBSD: distinfo,v 1.16 2004/07/13 14:45:33 recht Exp $
SHA1 (mono-1.0.tar.gz) = fa9c1b79152f05c1bfdd15bfce28a47e63d33dc7
Size (mono-1.0.tar.gz) = 18218284 bytes
+SHA1 (patch-aa) = 4b8828f70c0329dd8f995142d3493310eb227d9e
SHA1 (patch-ab) = 7c2b07f0e14103ccccc6e9e1514774d520865009
SHA1 (patch-ac) = be58af38a4fa937837006066ca8a2ecc96729640
SHA1 (patch-ad) = d8a72b7408e1209b7cb53b93b008d35ff071d2a7
diff --git a/lang/mono/patches/patch-aa b/lang/mono/patches/patch-aa
new file mode 100644
index 00000000000..ba570ab04b0
--- /dev/null
+++ b/lang/mono/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.8 2004/07/13 14:45:34 recht Exp $
+
+--- libgc/dyn_load.c.orig 2004-05-18 20:42:19.000000000 +0200
++++ libgc/dyn_load.c 2004-07-13 16:35:00.000000000 +0200
+@@ -80,6 +80,11 @@
+ # define l_name lm_name
+ #endif
+
++#if defined(NETBSD)
++# include <machine/elf_machdep.h>
++# define ELFSIZE ARCH_ELFSIZE
++#endif
++
+ #if defined(LINUX) && defined(__ELF__) || defined(SCO_ELF) || \
+ (defined(FREEBSD) && defined(__ELF__)) || defined(DGUX) || \
+ (defined(NETBSD) && defined(__ELF__)) || defined(HURD)
+@@ -91,7 +96,7 @@
+ /* Newer versions of GNU/Linux define this macro. We
+ * define it similarly for any ELF systems that don't. */
+ # ifndef ElfW
+-# ifdef __NetBSD__
++# ifdef NETBSD
+ # if ELFSIZE == 32
+ # define ElfW(type) Elf32_##type
+ # else