ports/175518: lang/mono is not configured correctly when building
Jack Pappas
jack.pappas at tidepowerd.com
Mon Feb 4 20:08:58 UTC 2013
Ah, sorry about that. It looks like there's a difference between the
source in Mono's 3.0.3 tag on GitHub, and the source they released in the
"official" 3.0.3 tarball (which is what the ports makefile uses). One of
the Mono developers renamed a few files around the time 3.0.3 was
released, but the autogen.sh in the official tarball didn't get updated to
match.
I've attached an updated patch which should fix the problem and allow you
to build Mono correctly (i.e., "make install clean"). Note that it creates
another new file (files/patch-autogen.sh) which'll need to be added to
SVN.
-----Original Message-----
From: romain at FreeBSD.org [mailto:romain at FreeBSD.org]
Sent: Monday, February 04, 2013 7:50 AM
To: jack.pappas at tidepowerd.com; romain at FreeBSD.org; mono at FreeBSD.org
Subject: Re: ports/175518: lang/mono is not configured correctly when
building
Synopsis: lang/mono is not configured correctly when building
State-Changed-From-To: open->analyzed
State-Changed-By: romain
State-Changed-When: Mon Feb 4 12:48:12 UTC 2013
State-Changed-Why:
lang/mono does not build after applying this patch: running the autohell
chain require some files not provided in the source tarball. Patching
configure directly may work. I am compiling ATM and if the results are
okay, I'll commit this change.
http://www.freebsd.org/cgi/query-pr.cgi?pr=175518
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile (revision 310835)
+++ Makefile (working copy)
@@ -17,11 +17,14 @@
USE_GNOME= gnomehack glib20
USE_GMAKE= yes
USE_PERL5_BUILD=yes
-GNU_CONFIGURE= yes
+HAS_CONFIGURE= yes
USE_LDCONFIG= yes
USE_GETTEXT= yes
MAKE_JOBS_UNSAFE=yes
+# Call autogen.sh, which calls libtool, autoconf, etc.
+CONFIGURE_SCRIPT= autogen.sh
+
# Moonlight is installed as part of www/moonlight
CONFIGURE_ARGS= --with-moonlight=no
Index: files/patch-autogen.sh
===================================================================
--- files/patch-autogen.sh (revision 0)
+++ files/patch-autogen.sh (working copy)
@@ -0,0 +1,12 @@
+--- ./autogen.sh.orig 2013-01-08 13:41:10.000000000 -0500
++++ ./autogen.sh 2013-01-22 17:57:36.000000000 -0500
+@@ -117,9 +117,6 @@
+ pushd ../mono-extensions/scripts
+ sh ./prepare-repo.sh || exit 1
+ popd
+-else
+- cat mono/mini/Makefile.am.in > mono/mini/Makefile.am
+- cat mono/metadata/Makefile.am.in > mono/metadata/Makefile.am
+ fi
+
+
Index: files/patch-configure.in
===================================================================
--- files/patch-configure.in (revision 0)
+++ files/patch-configure.in (working copy)
@@ -0,0 +1,13 @@
+--- ./configure.in.orig 2012-12-21 15:20:46.000000000 -0500
++++ ./configure.in 2012-12-21 15:21:10.000000000 -0500
+@@ -173,10 +173,6 @@
+ libgc_threads=pthreads
+ # This doesn't seem to work as of 7.0 on amd64
+ with_sigaltstack=no
+-# TLS is only partially implemented on -CURRENT (compiler support
+-# but NOT library support)
+-#
+- with_tls=pthread
+ use_sigposix=yes
+ ;;
+ *-*-*openbsd*)
More information about the freebsd-mono
mailing list