X-Git-Url: http://gitweb/?a=blobdiff_plain;f=shadow%2FPkgfile;h=3766631b120807a7b6765387d22bdc2329006c10;hb=7649a0ac3fa78b6dcf9f3cdafddacbbb23b6079c;hp=d41a2c62f7a092f8516ec278e8fae95aea055ab9;hpb=b751b192b8a9f558df99b4050babc1b84d45a372;p=crossrootfs.git diff --git a/shadow/Pkgfile b/shadow/Pkgfile index d41a2c6..3766631 100644 --- a/shadow/Pkgfile +++ b/shadow/Pkgfile @@ -5,16 +5,19 @@ # Depends on: name=shadow -version=4.1.4.2 -release=1 -source=(ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/$name-$version.tar.bz2 \ +version=4.1.5.1 +release=3 +source=(http://pkg-shadow.alioth.debian.org/releases/$name-$version.tar.bz2 \ pwck login.defs) build() { cd $name-$version - cat > config.cache << EOF -ac_cv_func_setpgrp_void=yes -EOF + + echo "ac_cv_func_setpgrp_void=yes" >> config.cache + + # Fix first configure to point to the right place + sed "s|lt_sysroot=|lt_sysroot=$CLFS|g" -i aclocal.m4 + ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ @@ -28,6 +31,9 @@ EOF --without-audit \ --cache-file=config.cache + # Forcing libtool to prioritize our sysroot + sed "s|lt_sysroot=|lt_sysroot=$CLFS|g" -i libtool + make make DESTDIR=$PKG install