View | Details | Raw Unified | Return to bug 74397
Collapse All | Expand All

(-)mono/Makefile (-9 / +13 lines)
Lines 2-30 Link Here
2
# Date created:        22 July 2002
2
# Date created:        22 July 2002
3
# Whom:                Yukihiro Nakai <nakai@FreeBSD.org>
3
# Whom:                Yukihiro Nakai <nakai@FreeBSD.org>
4
#
4
#
5
# $FreeBSD: ports/lang/mono/Makefile,v 1.34 2004/08/29 01:20:25 pav Exp $
5
# $FreeBSD$
6
#
6
#
7
7
8
PORTNAME=	mono
8
PORTNAME=	mono
9
PORTVERSION=	1.0
9
PORTVERSION=	1.0.4
10
PORTREVISION=	1
11
CATEGORIES=	lang
10
CATEGORIES=	lang
12
MASTER_SITES=	http://mono.ximian.com/archive/${PORTVERSION}/
11
MASTER_SITES=	http://www.go-mono.com/archive/${PORTVERSION}/
13
12
14
MAINTAINER=	coop9211@uidaho.edu
13
MAINTAINER=	coop9211@uidaho.edu
15
COMMENT=	An open source implementation of .NET Development Framework
14
COMMENT=	An open source implementation of .NET Development Framework
16
15
17
USE_REINPLACE=	yes
16
USE_REINPLACE=	yes
18
USE_BISON=	yes
17
USE_BISON=	yes
19
USE_GNOME=	gnomehack glib20 pkgconfig
18
USE_GNOME=	gnomehack glib20
20
USE_GMAKE=	yes
19
USE_GMAKE=	yes
21
GNU_CONFIGURE=	yes
20
LIBTOOLFILES=	configure libgc/configure
21
USE_LIBTOOL_VER=15
22
INSTALLS_SHLIB=	yes
22
INSTALLS_SHLIB=	yes
23
CONFIGURE_ENV=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
23
CONFIGURE_ENV=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
24
		PTHREAD_LIBS="${PTHREAD_LIBS}"
24
		PTHREAD_LIBS="${PTHREAD_LIBS}"
25
CONFIGURE_ARGS=	--program-transform-name=\'\' \
25
CONFIGURE_ARGS=	--program-transform-name=\'\' \
26
		--with-gc=included \
26
		--with-gc=included \
27
		--with-nptl=no
27
		--with-tls=pthread
28
28
29
MAN1=		cert2spc.1 certmgr.1 chktrust.1 cilc.1 disco.1 gacutil.1 \
29
MAN1=		cert2spc.1 certmgr.1 chktrust.1 cilc.1 disco.1 gacutil.1 \
30
		genxs.1 ilasm.1 makecert.1 mcs.1 mint.1 mono.1 \
30
		genxs.1 ilasm.1 makecert.1 mcs.1 mint.1 mono.1 \
Lines 38-45 Link Here
38
38
39
.if ${OSVERSION} < 500000
39
.if ${OSVERSION} < 500000
40
EXTRA_PATCHES=	${FILESDIR}/extra-patch-signbit
40
EXTRA_PATCHES=	${FILESDIR}/extra-patch-signbit
41
.elif ${OSVERSION} < 502113
41
.elif ${OSVERSION} < 503000
42
IGNORE=	"Does not work on 5.X before 502113"
42
IGNORE=	"Does not work on 5.X before 503000"
43
.endif
43
.endif
44
45
post-patch:
46
	@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
47
		${WRKSRC}/mono/metadata/assembly.c
44
48
45
.include <bsd.port.post.mk>
49
.include <bsd.port.post.mk>
(-)mono/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (mono-1.0.tar.gz) = 23a5787818837893073e2ae56d4ef3ac
1
MD5 (mono-1.0.4.tar.gz) = 272d26525bfa121ee19713051d5b3a01
2
SIZE (mono-1.0.tar.gz) = 18218284
2
SIZE (mono-1.0.4.tar.gz) = 18452996
(-)mono/files/patch-configure (-18 / +3 lines)
Lines 1-21 Link Here
1
--- configure.orig	Wed Jul  7 22:19:06 2004
1
--- configure.orig	Wed Aug  4 17:42:34 2004
2
+++ configure	Wed Jul  7 22:35:38 2004
2
+++ configure	Sun Aug 29 02:39:35 2004
3
@@ -2020,10 +2020,10 @@
3
@@ -14148,8 +14148,8 @@
4
 		;;
5
 	*-*-*freebsd*|*-*-*openbsd*)
6
 		platform_win32=no
7
-		CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE -DGC_FREEBSD_THREADS"
8
-		libmono_cflags="-D_THREAD_SAFE"
9
-		LDFLAGS="$LDFLAGS -pthread"
10
-		libmono_ldflags="-pthread"
11
+		CPPFLAGS="$CPPFLAGS $PTHREAD_CFLAGS -DGC_FREEBSD_THREADS"
12
+		libmono_cflags="$PTHREAD_CFLAGS"
13
+		LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
14
+		libmono_ldflags="$PTHREAD_LIBS"
15
 		need_link_unlink=yes
16
 		cat >>confdefs.h <<\_ACEOF
17
 #define PTHREAD_POINTER_ID 1
18
@@ -14003,8 +14003,8 @@
19
 ACCESS_UNALIGNED="yes"
4
 ACCESS_UNALIGNED="yes"
20
 
5
 
21
 JIT_SUPPORTED=no
6
 JIT_SUPPORTED=no
(-)mono/files/patch-libgc_Makefile.in (-7 / +7 lines)
Lines 1-11 Link Here
1
--- libgc/Makefile.in.orig	Sat Jun 12 15:40:48 2004
1
--- libgc/Makefile.in.orig	Tue Nov  2 21:37:01 2004
2
+++ libgc/Makefile.in	Sat Jun 12 15:41:15 2004
2
+++ libgc/Makefile.in	Tue Nov  2 21:39:34 2004
3
@@ -120,7 +120,7 @@
3
@@ -278,7 +278,7 @@
4
 
4
 target_alias = @target_alias@
5
 target_all = @target_all@
5
 AUTOMAKE_OPTIONS = foreign
6
 AUTOMAKE_OPTIONS = foreign
6
 
7
-SUBDIRS = include doc
7
-SUBDIRS = include doc
8
+SUBDIRS = include
8
+SUBDIRS = include
9
 
9
 
10
 noinst_LTLIBRARIES = libmonogc.la
10
 #
11
 
11
 # libtool is not capable of creating shared/static versions of a convenience
(-)mono/files/patch-libgc_configure (-13 lines)
Lines 1-13 Link Here
1
--- libgc/configure.bak	Tue Jun 29 06:29:58 2004
2
+++ libgc/configure	Wed Jul  7 22:43:28 2004
3
@@ -3686,8 +3686,8 @@
4
 #define GC_FREEBSD_THREADS 1
5
 _ACEOF
6
 
7
-	INCLUDES="$INCLUDES -pthread"
8
-	THREADLIBS=-pthread
9
+	INCLUDES="$INCLUDES $PTHREAD_CFLAGS"
10
+	THREADLIBS="$PTHREAD_LIBS"
11
       	;;
12
      *-*-solaris*)
13
 	cat >>confdefs.h <<\_ACEOF
(-)mono/files/patch-libgc_dyn_load.c (-8 / +8 lines)
Lines 1-24 Link Here
1
--- libgc/dyn_load.c.orig	Tue May 18 14:42:19 2004
1
--- libgc/dyn_load.c.orig	Sat Jul 17 11:31:47 2004
2
+++ libgc/dyn_load.c	Sat Jun 12 15:23:33 2004
2
+++ libgc/dyn_load.c	Sun Sep 12 04:09:10 2004
3
@@ -91,6 +91,13 @@
3
@@ -96,6 +96,13 @@
4
 /* Newer versions of GNU/Linux define this macro.  We
4
 /* Newer versions of GNU/Linux define this macro.  We
5
  * define it similarly for any ELF systems that don't.  */
5
  * define it similarly for any ELF systems that don't.  */
6
 #  ifndef ElfW
6
 #  ifndef ElfW
7
+#ifdef __FreeBSD__
7
+#ifdef FREEBSD
8
+#if __ELF_WORD_SIZE == 32
8
+#if __ELF_WORD_SIZE == 32
9
+#define ElfW(type) Elf32_##type
9
+#define ElfW(type) Elf32_##type
10
+#else
10
+#else
11
+#define ElfW(type) Elf64_##type
11
+#define ElfW(type) Elf64_##type
12
+#endif
12
+#endif
13
+#else
13
+#else
14
 #    ifdef __NetBSD__
14
 #    ifdef NETBSD
15
 #      if ELFSIZE == 32
15
 #      if ELFSIZE == 32
16
 #        define ElfW(type) Elf32_##type
16
 #        define ElfW(type) Elf32_##type
17
@@ -104,6 +111,7 @@
17
@@ -110,6 +117,7 @@
18
 #        define ElfW(type) Elf64_##type
19
 #      endif
18
 #      endif
20
 #    endif
19
 #    endif
21
+#endif
22
 #  endif
20
 #  endif
21
+#endif
23
 
22
 
24
 #if defined(SUNOS5DL) && !defined(USE_PROC_FOR_LIBRARIES)
23
 #if defined(SUNOS5DL) && !defined(USE_PROC_FOR_LIBRARIES)
24
 
(-)mono/files/patch-libgc_ltmain.sh (-42 lines)
Lines 1-42 Link Here
1
--- libgc/ltmain.sh.orig	Mon Mar 31 09:34:30 2003
2
+++ libgc/ltmain.sh	Sat Jun 12 15:23:56 2004
3
@@ -1060,8 +1060,16 @@
4
 	continue
5
 	;;
6
 
7
+      -pthread)
8
+      compile_command="$compile_command -pthread"
9
+      finalize_command="$finalize_command -pthread"
10
+      compiler_flags="$compiler_flags -pthread"
11
+      continue
12
+      ;;
13
+
14
       -module)
15
 	module=yes
16
+	build_old_libs=no
17
 	continue
18
 	;;
19
 
20
@@ -2444,6 +2452,9 @@
21
 	  *-*-openbsd*)
22
 	    # Do not include libc due to us having libc/libc_r.
23
 	    ;;
24
+	  *-*-freebsd*)
25
+	    # FreeBSD doesn't need this...
26
+	    ;;
27
 	  *)
28
 	    # Add libc to deplibs on all other systems if necessary.
29
 	    if test $build_libtool_need_lc = "yes"; then
30
@@ -4210,10 +4221,12 @@
31
 	fi
32
 
33
 	# Install the pseudo-library for information purposes.
34
+	if /usr/bin/false; then
35
 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
36
 	instname="$dir/$name"i
37
 	$show "$install_prog $instname $destdir/$name"
38
 	$run eval "$install_prog $instname $destdir/$name" || exit $?
39
+	fi
40
 
41
 	# Maybe install the static library, too.
42
 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
(-)mono/files/patch-ltmain.sh (-51 lines)
Lines 1-51 Link Here
1
--- ltmain.sh.orig	Thu May 22 16:42:22 2003
2
+++ ltmain.sh	Tue May 27 12:12:52 2003
3
@@ -1072,7 +1072,7 @@
4
 	  esac
5
 	 elif test "X$arg" = "X-lc_r"; then
6
 	  case $host in
7
-	 *-*-openbsd* | *-*-freebsd*)
8
+	 *-*-openbsd* | *-*-freebsd4*)
9
 	    # Do not include libc_r directly, use -pthread flag.
10
 	    continue
11
 	    ;;
12
@@ -1082,8 +1082,16 @@
13
 	continue
14
 	;;
15
 
16
+      -pthread)
17
+      compile_command="$compile_command -pthread"
18
+      finalize_command="$finalize_command -pthread"
19
+      compiler_flags="$compiler_flags -pthread"
20
+      continue
21
+      ;;
22
+
23
       -module)
24
 	module=yes
25
+	build_old_libs=no
26
 	continue
27
 	;;
28
 
29
@@ -2498,6 +2506,9 @@
30
 	  *-*-openbsd* | *-*-freebsd*)
31
 	    # Do not include libc due to us having libc/libc_r.
32
 	    ;;
33
+	  *-*-freebsd*)
34
+	    # FreeBSD doesn't need this...
35
+	    ;;
36
 	  *)
37
 	    # Add libc to deplibs on all other systems if necessary.
38
 	    if test $build_libtool_need_lc = "yes"; then
39
@@ -4325,10 +4336,12 @@
40
 	fi
41
 
42
 	# Install the pseudo-library for information purposes.
43
+	if /usr/bin/false; then
44
 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
45
 	instname="$dir/$name"i
46
 	$show "$install_prog $instname $destdir/$name"
47
 	$run eval "$install_prog $instname $destdir/$name" || exit $?
48
+	fi
49
 
50
 	# Maybe install the static library, too.
51
 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
(-)mono/files/patch-mono_Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- mono/Makefile.in.bak	Mon Feb  2 17:02:39 2004
2
+++ mono/Makefile.in	Tue Mar  2 01:48:16 2004
3
@@ -123,7 +123,7 @@
4
 @PLATFORM_WIN32_TRUE@	arch monograph interpreter mini tests benchmark profiler
5
 
6
 @PLATFORM_WIN32_FALSE@SUBDIRS = utils io-layer monoburg os metadata cil dis \
7
-@PLATFORM_WIN32_FALSE@	arch monograph interpreter mini tests benchmark handles profiler
8
+@PLATFORM_WIN32_FALSE@	arch monograph interpreter mini benchmark handles profiler
9
 
10
 subdir = mono
11
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
(-)mono/pkg-descr (-2 / +2 lines)
Lines 1-3 Link Here
1
An open source implementation of .NET Development Framework
1
An open source implementation of .NET Development Framework.
2
2
3
WWW: http://www.go-mono.com/
3
WWW: http://www.mono-project.com/
(-)mono/pkg-plist (-2 / +2 lines)
Lines 189-195 Link Here
189
lib/mono/gac/I18N.Rare/1.0.5000.0__0738eb9f132ed756/I18N.Rare.dll
189
lib/mono/gac/I18N.Rare/1.0.5000.0__0738eb9f132ed756/I18N.Rare.dll
190
lib/mono/gac/I18N.West/1.0.5000.0__0738eb9f132ed756/I18N.West.dll
190
lib/mono/gac/I18N.West/1.0.5000.0__0738eb9f132ed756/I18N.West.dll
191
lib/mono/gac/I18N/1.0.5000.0__0738eb9f132ed756/I18N.dll
191
lib/mono/gac/I18N/1.0.5000.0__0738eb9f132ed756/I18N.dll
192
lib/mono/gac/IBM.Data.DB2/1.0.1641.20878__7c307b91aa13d208/IBM.Data.DB2.dll
192
lib/mono/gac/IBM.Data.DB2/1.0.1677.31401__7c307b91aa13d208/IBM.Data.DB2.dll
193
lib/mono/gac/ICSharpCode.SharpZipLib/0.6.0.0__1b03e6acf1164f73/ICSharpCode.SharpZipLib.dll
193
lib/mono/gac/ICSharpCode.SharpZipLib/0.6.0.0__1b03e6acf1164f73/ICSharpCode.SharpZipLib.dll
194
lib/mono/gac/Microsoft.VisualBasic/7.0.5000.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
194
lib/mono/gac/Microsoft.VisualBasic/7.0.5000.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
195
lib/mono/gac/Microsoft.VisualC/7.0.5000.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
195
lib/mono/gac/Microsoft.VisualC/7.0.5000.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
Lines 319-325 Link Here
319
@dirrm lib/mono/gac/Microsoft.VisualBasic
319
@dirrm lib/mono/gac/Microsoft.VisualBasic
320
@dirrm lib/mono/gac/ICSharpCode.SharpZipLib/0.6.0.0__1b03e6acf1164f73
320
@dirrm lib/mono/gac/ICSharpCode.SharpZipLib/0.6.0.0__1b03e6acf1164f73
321
@dirrm lib/mono/gac/ICSharpCode.SharpZipLib
321
@dirrm lib/mono/gac/ICSharpCode.SharpZipLib
322
@dirrm lib/mono/gac/IBM.Data.DB2/1.0.1641.20878__7c307b91aa13d208
322
@dirrm lib/mono/gac/IBM.Data.DB2/1.0.1677.31401__7c307b91aa13d208
323
@dirrm lib/mono/gac/IBM.Data.DB2
323
@dirrm lib/mono/gac/IBM.Data.DB2
324
@dirrm lib/mono/gac/I18N/1.0.5000.0__0738eb9f132ed756
324
@dirrm lib/mono/gac/I18N/1.0.5000.0__0738eb9f132ed756
325
@dirrm lib/mono/gac/I18N.West/1.0.5000.0__0738eb9f132ed756
325
@dirrm lib/mono/gac/I18N.West/1.0.5000.0__0738eb9f132ed756

Return to bug 74397