X-Git-Url: http://gitweb/?a=blobdiff_plain;f=shadow%2FPkgfile;h=4f481c428d3cd8e44838a3386de13cfe8a1f1b5c;hb=46614e45fc6c1f19db8b1676492dbbac4373cc1f;hp=bd6bd0b372987d50a9dc3833752dbf79c3acd301;hpb=22bacb3a35212ce5d100903a0b1aca92fd71f581;p=crossrootfs.git diff --git a/shadow/Pkgfile b/shadow/Pkgfile index bd6bd0b..4f481c4 100644 --- a/shadow/Pkgfile +++ b/shadow/Pkgfile @@ -5,16 +5,19 @@ # Depends on: name=shadow -version=4.1.4.3 -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://pkgs.fedoraproject.org/repo/pkgs/shadow-utils/$name-$version.tar.bz2/a00449aa439c69287b6d472191dc2247/$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