aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/tcptraceroute/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/community/tcptraceroute/APKBUILD b/community/tcptraceroute/APKBUILD
index 18cce16287..b29aa3a39c 100644
--- a/community/tcptraceroute/APKBUILD
+++ b/community/tcptraceroute/APKBUILD
@@ -15,15 +15,15 @@ subpackages="$pkgname-doc"
source="https://github.com/mct/tcptraceroute/archive/tcptraceroute-1.5beta7.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgname-$_ver
+builddir="$srcdir"/$pkgname-$pkgname-$_ver
prepare() {
- cd "$_builddir"
- return 0
+ cd "$builddir"
+ update_config_guess || return 1
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -32,7 +32,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install
}