aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-17 21:00:38 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-17 21:03:42 +0000
commitb01f717d7dd0bef9f8c15213bddfd92f398e20bf (patch)
tree071761cb62c52b1895290bf75d4585d345322a6d /testing
parente5f4d966fd3a9317c485777db6f416864daa515c (diff)
downloadaports-b01f717d7dd0bef9f8c15213bddfd92f398e20bf.tar.bz2
aports-b01f717d7dd0bef9f8c15213bddfd92f398e20bf.tar.xz
testing/tcpreplay: update config.guess
Diffstat (limited to 'testing')
-rw-r--r--testing/tcpreplay/APKBUILD15
1 files changed, 5 insertions, 10 deletions
diff --git a/testing/tcpreplay/APKBUILD b/testing/tcpreplay/APKBUILD
index 98d9cfad5e..2d69f5d8da 100644
--- a/testing/tcpreplay/APKBUILD
+++ b/testing/tcpreplay/APKBUILD
@@ -15,20 +15,15 @@ subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
musl-socklen_t.patch
"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ default_prepare || return 1
+ update_config_guess || return 1
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -43,7 +38,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}