From owner-cvs-all Sun Jul 28 11:42:36 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C68E37B400 for ; Sun, 28 Jul 2002 11:42:23 -0700 (PDT) Received: from isris.pair.com (isris.pair.com [209.68.2.39]) by mx1.FreeBSD.org (Postfix) with SMTP id ECB9943E65 for ; Sun, 28 Jul 2002 11:42:21 -0700 (PDT) (envelope-from rooneg@isris.pair.com) Received: (qmail 77580 invoked by uid 3130); 28 Jul 2002 18:42:20 -0000 Date: Sun, 28 Jul 2002 14:42:20 -0400 From: Garrett Rooney To: Joe Marcus Clarke Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/lang/mono Makefile Message-ID: <20020728184219.GB56374@electricjellyfish.net> References: <200207281712.g6SHCDgT053763@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207281712.g6SHCDgT053763@freefall.freebsd.org> User-Agent: Mutt/1.3.25i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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