Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 2004 18:13:40 +0300
From:      Villy Dachev <dachev@nove.bg>
To:        freebsd-ports-bugs@freebsd.org
Subject:   devel/apr 0.9.4 compilation fails on amd64 (fix proposed)
Message-ID:  <40BB4BA4.2010709@nove.bg>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------040301050008000200030309
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hello,

the lattest version of the apr tool port fails to compile on the amd64 
platform because of an old GNU configure tool.

I just noticed this when I installed devel/subversion with standalone apr.

The file work/apr-0.9.4/build/config.sub has timestamp='2002-03-07' and 
is unaware of the amd64 platform, so running ./configure 
amd64-portbld-freebsd5.2.1 results in a 'machine not recognized' error.
The attached patch fixes it, also using newer version of the file would 
probably fix the issue, as I guess that amd64 is added there long ago.

The same goes for the work/apr-util-0.9.4/build/config.sub as well.


regards,
Villy Dachev

--------------040301050008000200030309
Content-Type: text/plain;
 name="config.sub.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="config.sub.patch"

--- config.sub	Tue Apr 16 11:49:03 2002
+++ config.sub.new	Mon May 31 18:03:06 2004
@@ -249,6 +249,7 @@
 	# Some are omitted here because they have special meanings below.
 	1750a | 580 \
 	| a29k \
+	| amd64 \
 	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
 	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \

--------------040301050008000200030309--



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