aboutsummaryrefslogtreecommitdiffstats
path: root/main/ppp/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-07-30 08:51:11 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-07-30 08:54:53 +0000
commit5c904717322f8113870abf48cc93c3c8b00ab4e8 (patch)
treee077e5c3afa20630fd6e96db5872f03d622d639e /main/ppp/APKBUILD
parenta879839450737e3cbdb64415af42347c97ccfa28 (diff)
downloadaports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.bz2
aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.xz
[all autotools packages]: normalize ./configure
Diffstat (limited to 'main/ppp/APKBUILD')
-rw-r--r--main/ppp/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/ppp/APKBUILD b/main/ppp/APKBUILD
index 162d6da0f9..57cc8966ab 100644
--- a/main/ppp/APKBUILD
+++ b/main/ppp/APKBUILD
@@ -49,7 +49,11 @@ build () {
sed -i "s:^#CBCP=y:CBCP=y:" pppd/Makefile.linux
# Fix build error with recent kernels
rm include/linux/if_pppol2tp.h
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make COPTS="$CFLAGS" || return 1
}