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 --- time/Pkgfile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'time/Pkgfile') diff --git a/time/Pkgfile b/time/Pkgfile index 70d7046..041d30e 100644 --- a/time/Pkgfile +++ b/time/Pkgfile @@ -10,11 +10,14 @@ release=1 source=(http://ftp.gnu.org/gnu/time/$name-$version.tar.gz time.1) build () { - cd $name-$version; - ./configure --prefix=$prefix; - make; - make prefix=$PKG$prefix install; - #rm -rf $PKG/usr/info; - mkdir -p $PKG$mandir/man1; - cp ../$name.1 $PKG$mandir/man1 + cd $name-$version; + ./configure \ + ${CHOST:+--host=$CHOST} \ + ${CBUILD:+--build=$CBUILD} \ + --prefix=$prefix; + make; + make prefix=$PKG$prefix install; + #rm -rf $PKG/usr/info; + mkdir -p $PKG$mandir/man1; + cp ../$name.1 $PKG$mandir/man1 } -- cgit v1.2.3-70-g09d2