From 0e9d94588a7865e7f3434750671bd6100706f063 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sat, 8 Jan 2011 17:02:51 +0100 Subject: Correction à cause de cet enfoiré de développeur de pkg++ qui casse toujours tout. :@ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shadow/Pkgfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'shadow/Pkgfile') 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; -- cgit v1.2.3-70-g09d2