[new port] lang/mono-basic: VisualBasic.NET support for Mono

Romain Tartiere mono at FreeBSD.org
Mon Jun 22 18:10:33 UTC 2009


>Submitter-Id:	current-users
>Originator:	Romain Tartiere
>Organization:	
>Confidential:	no 
>Synopsis:	[new port] lang/mono-basic: VisualBasic.NET support for Mono
>Severity:	non-critical
>Priority:	medium
>Category:	ports
>Class:		change-request
>Release:	FreeBSD 7.2-STABLE i386
>Environment:
System: FreeBSD marvin.blogreen.org 7.2-STABLE FreeBSD 7.2-STABLE #3 r193900M: Wed Jun 10 14:27:38 CEST 2009 root at marvin.blogreen.org:/usr/obj/usr/src/sys/MARVIN i386
>Description:
mono-basic is the Visual Basic Compiler and Runtime for lang/mono.

While some regressions tests fails when `make tests` is run the first time:

| Summary:
|     NotRun: 0 tests.
|     Running: 0 tests.
|     Failed: 18 tests.
      ^^^^^^^^^^^^^^^^
|     Regressed: 0 tests.
|     Success: 1663 tests.
|     KnownFailureSucceeded: 17 tests.
|     Skipped: 0 tests.
|     KnownFailureFailed: 52 tests.
|     Total: 1750 tests.
|     Duration: 00:48:06.9150700

... the second attempt passes:

| Summary:
|     NotRun: 0 tests.
|     Running: 0 tests.
|     Failed: 0 tests.
      ^^^^^^^^^^^^^^^^
|     Regressed: 0 tests.
|     Success: 1681 tests.
|     KnownFailureSucceeded: 17 tests.
|     Skipped: 0 tests.
|     KnownFailureFailed: 52 tests.
|     Total: 1750 tests.
|     Duration: 00:52:21.7712420


This is due to some inconsistencies in the test infrastructure. This port is
therefore considered stable enought to be pushed to the FreeBSD ports tree.
>How-To-Repeat:
	
>Fix:

--- mono-basic.sh begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mono-basic
#	mono-basic/files
#	mono-basic/files/patch-vbruntime_Test_Makefile
#	mono-basic/files/patch-configure
#	mono-basic/distinfo
#	mono-basic/pkg-descr
#	mono-basic/pkg-plist
#	mono-basic/Makefile
#
echo c - mono-basic
mkdir -p mono-basic > /dev/null 2>&1
echo c - mono-basic/files
mkdir -p mono-basic/files > /dev/null 2>&1
echo x - mono-basic/files/patch-vbruntime_Test_Makefile
sed 's/^X//' >mono-basic/files/patch-vbruntime_Test_Makefile << 'ef27da32690e378e73130fc97c52787e'
X
X$FreeBSD$
X
X--- vbruntime/Test/Makefile.orig
X+++ vbruntime/Test/Makefile
X@@ -62,7 +62,7 @@
X 	MONO_PATH=$(MONO_VB_PATH) mono ../../tools/extract-source/extract-source.exe -s:2005VB_test_CS.csproj -d:2005VB_test_CS.dll.sources.win -m:w
X 
X test-first:
X-	cd ../Microsoft.VisualBasic && make && cp ../../class/lib/vbnc/Microsoft.VisualBasic.dll* ../Test/bin
X+	cd ../Microsoft.VisualBasic && ${MAKE} && cp ../../class/lib/vbnc/Microsoft.VisualBasic.dll* ../Test/bin
X 
X test-cs: test-first 2005VB_test_CS.dll.sources
X 	$(CSCOMPILER) "-out:bin/2005VB_test_CS.dll" @2005VB_test_CS.dll.rsp @2005VB_test_CS.dll.sources -lib:bin $(CSDEFINES)
ef27da32690e378e73130fc97c52787e
echo x - mono-basic/files/patch-configure
sed 's/^X//' >mono-basic/files/patch-configure << '27b07f8f62ae7d2cd45748638ca35e6e'
X
X$FreeBSD$
X
X--- configure.orig
X+++ configure
X@@ -19,7 +19,7 @@
X echo "prefix=$prefix" > build/config.make
X echo "exec_prefix=\${prefix}" >> build/config.make
X echo "mono_libdir=\${exec_prefix}/lib" >> build/config.make
X-echo "man_dir=\${exec_prefix}/share/man" >> build/config.make
X+echo "man_dir=\${exec_prefix}/man" >> build/config.make
X echo "man1_dir=\${man_dir}/man1" >> build/config.make
X echo "MCS_FLAGS=-debug+" >> build/config.make
X echo "RUNTIME=mono" >> build/config.make
27b07f8f62ae7d2cd45748638ca35e6e
echo x - mono-basic/distinfo
sed 's/^X//' >mono-basic/distinfo << '9be3fe0cb8760ef679419c16e6e1ff49'
XMD5 (mono-basic-2.4.tar.bz2) = ee15480cfc667d514c958313ee980572
XSHA256 (mono-basic-2.4.tar.bz2) = 0964b5bbc2f6731f469e39a98ed2f212eed0886865fbbf24880d947e87a94416
XSIZE (mono-basic-2.4.tar.bz2) = 1207415
9be3fe0cb8760ef679419c16e6e1ff49
echo x - mono-basic/pkg-descr
sed 's/^X//' >mono-basic/pkg-descr << '080dda48c1b0b7be201fcfc77c3b583b'
XMono Basic: Visual Basic Compiler and Runtime.
X
XWWW:	http://www.mono-project.com/VisualBasic.NET
080dda48c1b0b7be201fcfc77c3b583b
echo x - mono-basic/pkg-plist
sed 's/^X//' >mono-basic/pkg-plist << '559cb1a54b44163f97381293524ad498'
X at comment $FreeBSD$
Xbin/vbnc
Xlib/mono/2.0/Microsoft.VisualBasic.dll
Xlib/mono/2.0/vbnc.exe
Xlib/mono/2.0/vbnc.exe.mdb
Xlib/mono/2.0/vbnc.rsp
Xlib/mono/gac/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
Xlib/mono/gac/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll.mdb
X at dirrm lib/mono/gac/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a
X at dirrm lib/mono/gac/Microsoft.VisualBasic
559cb1a54b44163f97381293524ad498
echo x - mono-basic/Makefile
sed 's/^X//' >mono-basic/Makefile << '1a90685486e790a3392c80459218f27d'
X# New ports collection makefile for:	mono-basic
X# Date created:		2008-12-20
X# Whom:			Romain Tartiere <romain at blogreen.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mono-basic
XPORTVERSION=	2.4
XCATEGORIES=	lang
XMASTER_SITES=	http://ftp.novell.com/pub/mono/sources/${PORTNAME}/
X
XMAINTAINER=	mono at FreeBSD.org
XCOMMENT=	VisualBasic.NET support for Mono
X
XBUILD_DEPENDS=	mono:${PORTSDIR}/lang/mono
XRUN_DEPENDS=	mono:${PORTSDIR}/lang/mono
X
XMAN1=		vbnc.1
X
XUSE_BZIP2=	yes
XHAS_CONFIGURE=	yes
XUSE_GMAKE=	yes
X
Xtests: build
X	@${ECHO_MSG} "===> Running ${PORTNAME} regression tests"
X	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
X		${MAKE_FLAGS} Makefile ${MAKE_ARGS} test)
X
X.include <bsd.port.mk>
1a90685486e790a3392c80459218f27d
exit
--- mono-basic.sh ends here ---



More information about the freebsd-mono mailing list