aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-05-06 11:58:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-05-06 11:58:23 +0000
commitf967cde07fa6a4f7f42ccf0e077f49151ce05d3e (patch)
tree7b67f0155bf8a8b5714ee699828f171762dd5f41
parenta244e7b6f4190c4e76c5b391dd493ae7db50c887 (diff)
downloadaports-f967cde07fa6a4f7f42ccf0e077f49151ce05d3e.tar.bz2
aports-f967cde07fa6a4f7f42ccf0e077f49151ce05d3e.tar.xz
testing/tsocks: minor cleanup
for consistency
-rw-r--r--testing/tsocks/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/testing/tsocks/APKBUILD b/testing/tsocks/APKBUILD
index c91482bb8d..1744f262c8 100644
--- a/testing/tsocks/APKBUILD
+++ b/testing/tsocks/APKBUILD
@@ -14,7 +14,7 @@ makedepends=""
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/${pkgname}/${pkgname}-${_ver}.tar.gz
- configure.patch"
+ configure.patch"
_builddir="${srcdir}/${pkgname}-${pkgver%_*}"
prepare() {
@@ -29,11 +29,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --libdir=/usr/lib \
- || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --libdir=/usr/lib \
+ || return 1
make || return 1
}