diff options
author | Lukc <lukc@upyum.com> | 2011-01-08 17:02:51 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2011-01-08 17:02:51 +0100 |
commit | 0e9d94588a7865e7f3434750671bd6100706f063 (patch) | |
tree | 414d6c5ff43062d56d24885a89060eb361b89517 /shadow | |
parent | 6aeb1a36bfffc8fdfc2fc15e1edaf9064f4f9b80 (diff) | |
download | base-0e9d94588a7865e7f3434750671bd6100706f063.tar.gz base-0e9d94588a7865e7f3434750671bd6100706f063.tar.bz2 base-0e9d94588a7865e7f3434750671bd6100706f063.tar.xz base-0e9d94588a7865e7f3434750671bd6100706f063.zip |
Correction à cause de cet enfoiré de développeur de pkg++ qui casse toujours tout. :@
Diffstat (limited to 'shadow')
-rw-r--r-- | shadow/Pkgfile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/shadow/Pkgfile b/shadow/Pkgfile index 28b671a..6d4e55a 100644 --- a/shadow/Pkgfile +++ b/shadow/Pkgfile @@ -11,7 +11,13 @@ source=(ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/$name-$version.tar.bz2 build () { cd $name-$version; + # FIXME: Problème de portabilité ? + if [[ "$CBUILD" != "$CHOST" ]]; then + echo "ac_cv_func_setpgrp_void=yes" > config.cache + fi ./configure \ + ${CBUILD:+--build=${CBUILD}} \ + ${CHOST:+--host=${CHOST}} \ --prefix=$prefix \ --mandir=$mandir \ --sysconfdir=$sysconfdir \ @@ -20,7 +26,8 @@ build () $(use_enable nls) \ --without-selinux \ --without-libpam \ - --without-audit; + --without-audit \ + --cache-file=config.cache; make; make DESTDIR=$PKG install; install -d $PKG/etc/cron/daily $PKG/var/log; |