Date: Tue, 13 Mar 2007 15:40:20 +1100 (EST) From: Timothy Bourke <timbob@bigpond.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Martin Wilke <miwi@FreeBSD.org> Subject: ports/110248: Update port: lang/polyml (patch for amd64 build) Message-ID: <200703130440.l2D4eKNc016994@triptrop.cse.unsw.edu.au> Resent-Message-ID: <200703130450.l2D4o5pw040569@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 110248 >Category: ports >Synopsis: Update port: lang/polyml (patch for amd64 build) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Mar 13 04:50:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Timothy Bourke >Release: FreeBSD 6.1-RELEASE-p6 i386 (uname -s -r -m) >Organization: n/a >Environment: >Description: Build failure on pointyhat: http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.7.2007031118/polyml-5.0.log configure: error: Poly/ML is not supported for this architecture configure expects `x86_64' whereas FreeBSD gives `amd64'. I don't have any 64-bit hardware so I cannot easily test the patch. If it works I will pass the details upstream to the developers. >How-To-Repeat: >Fix: --- polyml.diff begins here --- Index: files/patch-configure =================================================================== RCS file: files/patch-configure diff -N files/patch-configure --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-configure 13 Mar 2007 04:35:01 -0000 @@ -0,0 +1,47 @@ +--- configure.orig Tue Mar 13 15:28:01 2007 ++++ configure Tue Mar 13 15:29:29 2007 +@@ -8219,7 +8219,7 @@ + # find out which ABI we are using + libsuff= + case "$host_cpu" in +- x86_64*|s390x*|powerpc64*) ++ x86_64*|amd64*|s390x*|powerpc64*) + echo '#line 8223 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 +@@ -12196,7 +12196,7 @@ + # find out which ABI we are using + libsuff= + case "$host_cpu" in +- x86_64*|s390x*|powerpc64*) ++ x86_64*|amd64*|s390x*|powerpc64*) + echo '#line 12200 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 +@@ -14804,7 +14804,7 @@ + # find out which ABI we are using + libsuff= + case "$host_cpu" in +- x86_64*|s390x*|powerpc64*) ++ x86_64*|amd64*|s390x*|powerpc64*) + echo '#line 14808 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 +@@ -17420,7 +17420,7 @@ + # find out which ABI we are using + libsuff= + case "$host_cpu" in +- x86_64*|s390x*|powerpc64*) ++ x86_64*|amd64*|s390x*|powerpc64*) + echo '#line 17424 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 +@@ -30451,7 +30451,7 @@ + + polyarch=ppc + ;; +- x86_64) ++ x86_64 | amd64) + ARCHFLAG=-DX86_64 + + polyarch=x86_64 --- polyml.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703130440.l2D4eKNc016994>