Date: Mon, 4 Feb 2013 15:08:56 -0500 From: Jack Pappas <jack.pappas@tidepowerd.com> To: romain@freebsd.org, mono@freebsd.org Subject: RE: ports/175518: lang/mono is not configured correctly when building Message-ID: <426bf9ae6b14bb96178dc64f04a2a8bc@mail.gmail.com> In-Reply-To: <201302041249.r14Cnwgm050661@freefall.freebsd.org> References: <201302041249.r14Cnwgm050661@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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@FreeBSD.org [mailto:romain@FreeBSD.org] Sent: Monday, February 04, 2013 7:50 AM To: jack.pappas@tidepowerd.com; romain@FreeBSD.org; mono@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 [-- Attachment #2 --] 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*)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?426bf9ae6b14bb96178dc64f04a2a8bc>
