firefox-nightly: /usr/ports/www/firefox/experimental/Templates/config.guess: No such file or directory

Jan Beich jbeich at tormail.org
Sat Jun 23 02:49:10 UTC 2012


Anton Shterenlikht <mexas at 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)
 	- at 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 \


More information about the freebsd-gecko mailing list