summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-29 10:31:31 +0100
committerLukc <lukc@upyum.com>2010-12-29 10:31:31 +0100
commitda282698c44ac7e553af8fb3ebb4fd92b22874df (patch)
tree374ccb920153e10e6f329180df1aeb1a1b79dc38
parent797ad02c082210bc72bb034a68fb17f06190356c (diff)
downloaddevel-da282698c44ac7e553af8fb3ebb4fd92b22874df.tar.gz
devel-da282698c44ac7e553af8fb3ebb4fd92b22874df.tar.bz2
devel-da282698c44ac7e553af8fb3ebb4fd92b22874df.tar.xz
devel-da282698c44ac7e553af8fb3ebb4fd92b22874df.zip
Recette de gdbm mise à jour.
-rw-r--r--gdbm/Pkgfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdbm/Pkgfile b/gdbm/Pkgfile
index 5ccb5ff..dccd6d9 100644
--- a/gdbm/Pkgfile
+++ b/gdbm/Pkgfile
@@ -12,7 +12,11 @@ build ()
{
cd $name-$version;
patch -p1 -i $SRC/$name-$version-compat-linking.patch;
- ./configure --prefix=$prefix --includedir=$prefix/include/gdbm;
+ ./configure \
+ ${CHOST:+--build=${CHOST}} \
+ ${CTARGET:+--host=${CTARGET}} \
+ --prefix=$prefix \
+ --includedir=$prefix/include/gdbm;
make;
make -j1 INSTALL_ROOT=$PKG install install-compat;
ln -sf gdbm/gdbm.h $PKG/usr/include/gdbm.h;