16 May
2007
16 May
'07
7:52 a.m.
On 5/16/07, Daniel Isenmann <daniel.isenmann@gmx.de> wrote:
CARCH and CHOST are necessary. Small example from the kernel PKGBUILD:
without CARCH there is going this things wrong....
I think there's a misunderstanding here... Try this PKGBUILD pkgname=foo pkgver=1.0 pkgrel=1 pkgdesc="A dummy package" arch=('i686') build() { echo ">>>>" echo $FTPAGENT echo $CARCH echo $CHOST echo $DISTCC_HOSTS echo $PKGDEST echo $PACKAGER echo "<<<<" } My output:
/usr/bin/wget --continue --passive-ftp --tries=3 --waitretry=3 --no-check-certificate i686 i686-pc-linux-gnu
/home/griff/build/local/foo <<<< Export is not needed for a variable to exist inside makepkg