Subject: pkgsrc/bootstrap/bootstrap (solaris ABI 64)
To: None <tech-pkg@NetBSD.org>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: tech-pkg
Date: 11/22/2006 10:55:59
Hi! devel.
I am waiting, since a long time, for a patch in bootstrap.
What is the problem?
Here is the patch I wish:
--- bootstrap/bootstrap Mon Nov 20 16:17:14 2006
+++ ../../cvshead/pkgsrc/bootstrap/bootstrap Mon Nov 20 16:21:37 2006
@@ -140,14 +140,6 @@
abi=32
fi
;;
- SunOS)
- # Search the compiler default 32/64
- unset abi
- lp64_def=`${CC:-gcc} -E - -dM </dev/null 2>/dev/null | grep
__LP64__`
- if [ ! -z "$lp64_def" ] ; then
- abi=64
- fi
- ;;
esac
}
@@ -458,17 +450,8 @@
need_sed=yes
set_opsys=no
whoamiprog=/usr/ucb/whoami
- get_abi "SunOS"
- if [ "X${abi}" = "X64" ] ; then
- machine_arch=`uname -p | sed -e 's/i86pc/x86_64/' |sed -e
's/i386/x86_64/' |sed -e 's/sparc/sparc64/'`
- bmakexargs="MACHINE_ARCH=$machine_arch"
- else
- machine_arch=`uname -p | sed -e 's/i86pc/i386/'`
- check_compiler=yes
- fi
- echo "ABI = $abi"
- echo "MACHINE_ARCH=$machine_arch"
-
+ machine_arch=`uname -p | sed -e 's/i86pc/i386/'`
+ check_compiler=yes
;;
AIX)
root_group=system
I open my mind and ,please ,teach me ;)
Thanks
Gilles