aboutsummaryrefslogtreecommitdiffstats
path: root/main/ntop
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-05-09 18:44:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-05-09 18:44:34 +0000
commitc4e1c82d8b8ff698b84991f9ed1b52c31821127a (patch)
treedc8f07dc37b5092249607f1f0ddbf7196e3bc8c2 /main/ntop
parentd1eea454c4e72f168b6f1525f8bd7ca5e3014f1e (diff)
downloadaports-c4e1c82d8b8ff698b84991f9ed1b52c31821127a.tar.bz2
aports-c4e1c82d8b8ff698b84991f9ed1b52c31821127a.tar.xz
main/ntop: build fix for ppc64le
Diffstat (limited to 'main/ntop')
-rw-r--r--main/ntop/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/ntop/APKBUILD b/main/ntop/APKBUILD
index 556d531797..309e29dca2 100644
--- a/main/ntop/APKBUILD
+++ b/main/ntop/APKBUILD
@@ -27,19 +27,20 @@ builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
- update_config_guess || return 1
+ update_config_guess
+ update_config_sub
./autogen.sh --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-snmp
- make || return 1
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
install -m755 -D "$srcdir"/ntop-update-geoip-db \