diff options
Diffstat (limited to 'bison')
-rw-r--r-- | bison/Pkgfile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bison/Pkgfile b/bison/Pkgfile index 2d5f714..22cf536 100644 --- a/bison/Pkgfile +++ b/bison/Pkgfile @@ -11,7 +11,12 @@ source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2) build () { cd $name-$version; - ./configure --prefix=$prefix --mandir=$mandir $(use_enable nls); + ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ + --prefix=$prefix \ + --mandir=$mandir \ + $(use_enable nls); make; make DESTDIR=$PKG install; #if ! use info; then |