Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2002 14:42:20 -0400
From:      Garrett Rooney <rooneg@electricjellyfish.net>
To:        Joe Marcus Clarke <marcus@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/lang/mono Makefile
Message-ID:  <20020728184219.GB56374@electricjellyfish.net>
In-Reply-To: <200207281712.g6SHCDgT053763@freefall.freebsd.org>
References:  <200207281712.g6SHCDgT053763@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 28, 2002 at 10:12:13AM -0700, Joe Marcus Clarke wrote:
> marcus      2002/07/28 10:12:13 PDT
> 
>   Modified files:
>     lang/mono            Makefile 
>   Log:
>   Add USE_BISON.
>   
>   Submitted by:   bento

actually, i was just in the process of updating this to the new
release (which actually works, as long as you don't use the boehm gc
and set MONO_DISABLE_SHM in your environment to avoid nasty warnings
from shared memory stuff not working correctly).

here's the diff.  there's one weird thing about it...  unless i set
CONFIGURE_TARGET to nothing, i get all the binaries installed with
i386-freebsd-portbld prepended onto their names.  if anyone can tell
me why this is happening, i'd love to know.

-garrett

diff -r -u /usr/ports/lang/mono-old/Makefile /usr/ports/lang/mono/Makefile
--- /usr/ports/lang/mono-old/Makefile	Sun Jul 28 13:42:58 2002
+++ /usr/ports/lang/mono/Makefile	Sun Jul 28 14:37:10 2002
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mono
-PORTVERSION=	0.12
+PORTVERSION=	0.13
 CATEGORIES=	lang
 MASTER_SITES=	http://www.go-mono.com/archive/
 
@@ -14,15 +14,28 @@
 
 BUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig
 LIB_DEPENDS=	glib-2.0.0:${PORTSDIR}/devel/glib20 \
-		gc.1:${PORTSDIR}/devel/boehm-gc
+		iconv.3:${PORTSDIR}/converters/libiconv
+
+# building with the boehm gc makes mono segfault when running mcs.exe
+.if defined(WITH_GC)
+LIB_DEPENDS+=	gc.1:${PORTSDIR}/devel/boehm-gc
+.else
+CONFIGURE_ARGS+=	--with-gc=none
+.endif
 
 USE_LIBTOOL=	yes
 USE_REINPLACE=	yes
 USE_BISON=	yes
+CFLAGS+=	${PTHREAD_CFLAGS}
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include " \
-		LDFLAGS="-L${LOCALBASE}/lib"
+		LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
+
+# if i don't override this, all the files get installed with the prefix
+# i386-freebsd-portbld tacked on to their names.  i don't know why.
+CONFIGURE_TARGET=
 
 MAN1=		mcs.1 mint.1 mono.1 monoburg.1 monodis.1 monostyle.1
+MAN5=		mono-config.5
 
 pre-patch:
 		@find ${WRKSRC} -name Makefile.in | xargs ${REINPLACE_CMD} -e \
diff -r -u /usr/ports/lang/mono-old/distinfo /usr/ports/lang/mono/distinfo
--- /usr/ports/lang/mono-old/distinfo	Mon Jul 22 09:41:43 2002
+++ /usr/ports/lang/mono/distinfo	Sun Jul 28 13:24:40 2002
@@ -1 +1 @@
-MD5 (mono-0.12.tar.gz) = b20fc55e02429acdba646f2af6a5d4fe
+MD5 (mono-0.13.tar.gz) = eba78b3169b0f9e016fab9b5a050883f
diff -r -u /usr/ports/lang/mono-old/pkg-plist /usr/ports/lang/mono/pkg-plist
--- /usr/ports/lang/mono-old/pkg-plist	Mon Jul 22 09:41:43 2002
+++ /usr/ports/lang/mono/pkg-plist	Sun Jul 28 14:26:46 2002
@@ -2,10 +2,10 @@
 bin/mcs.exe
 bin/mint
 bin/mono
-bin/mono-handle-d
 bin/monodis
 bin/monograph
 include/mono/cil/opcode.def
+include/mono/io-layer/access.h
 include/mono/io-layer/atomic.h
 include/mono/io-layer/context.h
 include/mono/io-layer/critical-sections.h
@@ -15,6 +15,7 @@
 include/mono/io-layer/io-layer.h
 include/mono/io-layer/io.h
 include/mono/io-layer/macros.h
+include/mono/io-layer/mono-mutex.h
 include/mono/io-layer/mutexes.h
 include/mono/io-layer/processes.h
 include/mono/io-layer/semaphores.h
@@ -25,17 +26,23 @@
 include/mono/io-layer/timefuncs.h
 include/mono/io-layer/types.h
 include/mono/io-layer/uglify.h
+include/mono/io-layer/versioninfo.h
 include/mono/io-layer/wait.h
 include/mono/io-layer/wapi.h
+include/mono/jit/debug.h
+include/mono/jit/jit.h
+include/mono/jit/regset.h
 include/mono/metadata/appdomain.h
 include/mono/metadata/assembly.h
 include/mono/metadata/blob.h
 include/mono/metadata/cil-coff.h
 include/mono/metadata/class.h
+include/mono/metadata/debug-helpers.h
 include/mono/metadata/exception.h
 include/mono/metadata/image.h
 include/mono/metadata/loader.h
 include/mono/metadata/metadata.h
+include/mono/metadata/mempool.h
 include/mono/metadata/mono-endian.h
 include/mono/metadata/object.h
 include/mono/metadata/opcodes.h
@@ -45,23 +52,28 @@
 include/mono/metadata/reflection.h
 include/mono/metadata/row-indexes.h
 include/mono/metadata/tabledefs.h
+include/mono/metadata/threadpool.h
+include/mono/metadata/threads.h
+include/mono/metadata/threads-types.h
 include/mono/metadata/tokentype.h
 include/mono/metadata/verify.h
+include/mono/utils/mono-digest.h
+include/mono/utils/mono-hash.h
+include/mono/utils/monobitset.h
 lib/System.Data.dll
 lib/System.Drawing.dll
 lib/System.Web.dll
 lib/System.Xml.dll
 lib/System.dll
 lib/corlib.dll
-lib/libmetadata.a
 lib/libmono.a
-lib/libmonodis.a
-lib/libmonoruntime.a
-lib/libmonoutils.a
-lib/libwapi.a
+lib/libmono.la
+lib/libmono.so
+lib/libmono.so.0
 share/mono/cil/cil-opcodes.xml
 @dirrm include/mono/cil
 @dirrm include/mono/io-layer
+@dirrm include/mono/jit
 @dirrm include/mono/metadata
 @dirrm include/mono/utils
 @dirrm include/mono

-- 
garrett rooney                    Remember, any design flaw you're 
rooneg@electricjellyfish.net      sufficiently snide about becomes  
http://electricjellyfish.net/     a feature.       -- Dan Sugalski

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020728184219.GB56374>