summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2012-07-21 17:49:18 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2012-07-21 17:49:18 -0500
commitc25ed1401d3fa3dd6827c33bc11b660dcd425f23 (patch)
treec9803ac1b09f066db7d58da9ba9ac148f42e1965
parent938349983211e9fe66494a51384d32c44e4d1ffd (diff)
Add chost in builds
-rw-r--r--community/apcupsd/PKGBUILD2
-rw-r--r--community/armagetronad/PKGBUILD1
-rw-r--r--community/cdck/PKGBUILD2
-rw-r--r--extra/apricots/PKGBUILD2
4 files changed, 4 insertions, 3 deletions
diff --git a/community/apcupsd/PKGBUILD b/community/apcupsd/PKGBUILD
index 1cec8981d..48ac0bbe0 100644
--- a/community/apcupsd/PKGBUILD
+++ b/community/apcupsd/PKGBUILD
@@ -23,7 +23,7 @@ md5sums=('5928822d855c5cf7ac29655e3e0b8c23'
build() {
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname \
+ ./configure --prefix=/usr --build=$CHOST --libexecdir=/usr/lib/$pkgname \
--enable-cgi --enable-usb --enable-net \
--with-upstype=usb --with-upscable=usb \
--with-serial-dev=/dev/usb/hid/hiddev[0-9] \
diff --git a/community/armagetronad/PKGBUILD b/community/armagetronad/PKGBUILD
index 7b9972f5f..3703a1448 100644
--- a/community/armagetronad/PKGBUILD
+++ b/community/armagetronad/PKGBUILD
@@ -23,6 +23,7 @@ build() {
sed -i 's|FTGL.h|ftgl.h|g' configure
sed -i 's|png_check_sig|png_sig_cmp|g' configure
./configure --prefix=/usr \
+ --build=$CHOST \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--disable-games \
diff --git a/community/cdck/PKGBUILD b/community/cdck/PKGBUILD
index 5ab3be3f2..f5689fafd 100644
--- a/community/cdck/PKGBUILD
+++ b/community/cdck/PKGBUILD
@@ -20,7 +20,7 @@ md5sums=('15029d54b99f2e5cf8aae28077669d3f')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --mandir=/usr/share/man
+ ./configure --prefix=/usr --mandir=/usr/share/man --build=$CHOST
PATH="/usr/bin/core_perl:$PATH" make
}
diff --git a/extra/apricots/PKGBUILD b/extra/apricots/PKGBUILD
index 36476601c..5611ce76d 100644
--- a/extra/apricots/PKGBUILD
+++ b/extra/apricots/PKGBUILD
@@ -18,7 +18,7 @@ md5sums=('910828d717e46d8cbd9c24f702d09fbc'
build() {
cd $srcdir/$pkgname-$pkgver
patch -p0 -i $srcdir/apricots-0.2.6-freealut.patch
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --build=$CHOST
make LIBTOOL='/usr/bin/libtool'
}