buildpkg.packaging.solaris: add more arch and os helper vars

These used to be defined in gcc/build.sh.gcc.common.
This commit is contained in:
Tom G. Christensen 2013-09-20 16:42:18 +02:00
parent 18f46e6fe6
commit 72de05b968

View File

@ -49,8 +49,11 @@ pkgdesc="mumble mubmle... hmm someone forgot to fill this out!"
pkgedby="Tom G. Christensen"
email=swpkg@jupiterrise.com
# Set some helper vars that describes arch and OS version
arch=`uname -p`
[ "$arch" = "sparc" ] && { vendor="sun"; sparc=1; } || { vendor="pc"; intel=1; }
os=sunos`${__uname} -r`
gnu_os_ver=$(${__uname} -r | ${__sed} -e 's/^5/2/')
# Default pkginfo.in file
pkginfo=$buildpkgscripts/pkginfo.in