Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2012 06:46:45 -0700
From:      Jan Beich <jbeich@tormail.org>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-gecko@freebsd.org
Subject:   Re: firefox-nightly: /usr/ports/www/firefox/experimental/Templates/config.guess: No such file or directory
Message-ID:  <1Si4C2-000Dl2-4q@internal.tormail.org>
In-Reply-To: <20120622121052.GA86769@mech-cluster241.men.bris.ac.uk> (Anton Shterenlikht's message of "Fri, 22 Jun 2012 13:10:52 %2B0100")
References:  <20120622121052.GA86769@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Anton Shterenlikht <mexas@bristol.ac.uk> writes:

> Building ff-nightly on r789:
>
> ===> FreeBSD 10 autotools fix applied to
> /usr/ports/www/firefox/experimental/www/firefox-nightly/work/mozilla-central-9602a9e99045/tools/profiler/libunwind/src/configure
> (cd
> /usr/ports/www/firefox/experimental/www/firefox-nightly/work/mozilla-central-9602a9e99045
> && /usr/local/bin/autoconf-2.13)
> (cd
> /usr/ports/www/firefox/experimental/www/firefox-nightly/work/mozilla-central-9602a9e99045/js/src/
> && /usr/local/bin/autoconf-2.13)
> cp: /usr/ports/www/firefox/experimental/Templates/config.guess: No
> such file or directory
> *** [do-configure] Error code 1

Looks like you also need to copy /usr/ports/Templates directory to
$PORTSDIR or invoke the build like this, e.g.

  $ make install WITHOUT_FBSD10_FIX=

autotools infer version from OSREL, or rather CONFIGURE_TARGET tuple.
So, the following is more correct and works with UNAME_r=9.9-FOO workaround.

Index: Mk/bsd.port.mk
===================================================================
RCS file: /a/.csup/ports/Mk/bsd.port.mk,v
retrieving revision 1.729
diff -u -p -r1.729 bsd.port.mk
--- Mk/bsd.port.mk	15 Jun 2012 12:04:52 -0000	1.729
+++ Mk/bsd.port.mk	16 Jun 2012 14:49:35 -0000
@@ -3641,7 +3655,7 @@ do-patch:
 .if !target(run-autotools-fixup)
 run-autotools-fixup:
 # Work around an issue where FreeBSD 10.0 is detected as FreeBSD 1.x.
-.if ${OSVERSION} >= 1000000 && !defined(WITHOUT_FBSD10_FIX)
+.if ${OSREL:R} > 9 && !defined(WITHOUT_FBSD10_FIX)
 	-@for f in `${FIND} ${WRKDIR} -type f \( -name config.libpath -o \
 		-name config.rpath -o -name configure -o -name libtool.m4 -o \
 		-name ltconfig -o -name libtool -o -name aclocal.m4 -o \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1Si4C2-000Dl2-4q>