X-Git-Url: http://gitweb/?a=blobdiff_plain;f=shadow%2FPkgfile;h=4f481c428d3cd8e44838a3386de13cfe8a1f1b5c;hb=7ed962396ca90491efbe6a02c38ae81c3877afb8;hp=d570a5e502a023bb4fcf6ba066e0a1d0bc14dfb2;hpb=1f3fed7f752aea98305ab5f79662a8752e056d52;p=crossrootfs.git diff --git a/shadow/Pkgfile b/shadow/Pkgfile index d570a5e..4f481c4 100644 --- a/shadow/Pkgfile +++ b/shadow/Pkgfile @@ -7,7 +7,7 @@ name=shadow version=4.1.5.1 release=3 -source=(http://pkg-shadow.alioth.debian.org/releases/$name-$version.tar.bz2 \ +source=(http://pkgs.fedoraproject.org/repo/pkgs/shadow-utils/$name-$version.tar.bz2/a00449aa439c69287b6d472191dc2247/$name-$version.tar.bz2 pwck login.defs) build() { @@ -15,6 +15,9 @@ build() { 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 @@ build() { --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