mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
- Fix build with new GCC and remove BROKEN - Regenerate patches to make portlint(1) happy - Add fortran to USES - Bump PORTREVISION PR: 205241 Submitted by: Carlos J. Puga Medina <cpm@fbsd.es> Approved by: junovitch (mentor)
20 lines
687 B
Text
20 lines
687 B
Text
--- c_check.orig 2010-01-28 19:26:25 UTC
|
|
+++ c_check
|
|
@@ -2,7 +2,7 @@
|
|
|
|
# Checking cross compile
|
|
$hostos = `uname -s | sed -e s/\-.*//`; chop($hostos);
|
|
-$hostarch = `uname -m | sed -e s/i.86/x86/`;chop($hostarch);
|
|
+$hostarch = `uname -m | sed -e s/i.86/x86/ | sed -e s/amd64/x86_64/` ;chop($hostarch);
|
|
|
|
$binary = $ENV{"BINARY"};
|
|
|
|
@@ -215,7 +215,7 @@ open(CONFFILE, "> $config" ) || die "Ca
|
|
# print $data, "\n";
|
|
|
|
print MAKEFILE "OSNAME=$os\n";
|
|
-print MAKEFILE "ARCH=$architecture\n";
|
|
+print MAKEFILE "ARCH_=$architecture\n";
|
|
print MAKEFILE "C_COMPILER=$compiler\n";
|
|
print MAKEFILE "BINARY32=\n" if $binformat ne bin32;
|
|
print MAKEFILE "BINARY64=\n" if $binformat ne bin64;
|