Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2013 17:56:36 +0200
From:      Christoph Moench-Tegeder <cmt@burggraben.net>
To:        ports@FreeBSD.org, bapt@FreeBSD.org
Subject:   breakage via Templates/config.sub
Message-ID:  <20130604155635.GA2064@elch.exwg.net>

next in thread | raw e-mail | index | archive | help
Hi,

autoconf/automake-configure using ports fail to build on amd64 (not on
i386), as witnessed with the current pcre-8.33 port (and more, if you test
for it).
"make configure" (ultimatively, ./configure) bails out with

checking build system type... Invalid configuration `amd64-portbld-freebsd9.1': machine `amd64-portbld' not recognized
configure: error: /bin/sh ./config.sub amd64-portbld-freebsd9.1 failed
===>  Script "configure" failed unexpectedly.


Comparing an "original" config.sub (e.g. from pcre again) to the one
supplied in ports/Templates/config.sub, one cannot really miss the diff:

--- /usr/ports/Templates/config.sub	2013-06-04 17:35:53.000000000 +0200
+++ pcre-8.33/config.sub	2013-05-27 17:56:00.000000000 +0200
@@ -473,6 +473,12 @@
 		basic_machine=a29k-none
 		os=-bsd
 		;;
+	amd64)
+		basic_machine=x86_64-pc
+		;;
+	amd64-*)
+		basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	amdahl)
 		basic_machine=580-amdahl
 		os=-sysv

which quite obviously explains the trouble...

Bapt, you were the last committer on that file, could you please add the
evaporated lines back again?

Regards,
Christoph

-- 
Spare Space



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130604155635.GA2064>