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-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*)