diff options
Diffstat (limited to 'main/nagios-plugins/APKBUILD')
-rw-r--r-- | main/nagios-plugins/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/nagios-plugins/APKBUILD b/main/nagios-plugins/APKBUILD index d466146b7b..6f4a7cd7f6 100644 --- a/main/nagios-plugins/APKBUILD +++ b/main/nagios-plugins/APKBUILD @@ -23,7 +23,10 @@ prepare() { build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --bindir=/usr/sbin \ @@ -33,7 +36,8 @@ build() { --with-ps-format="%d %s %s %s" \ --with-ps-varlist="&procpid,&procuid,&procpcpu,procprog" \ --with-ps-cols=4 \ - --with-ping-command="/bin/ping -c %d %s" + --with-ping-command="/bin/ping -c %d %s" \ + || return 1 make all || return 1 } |