aboutsummaryrefslogtreecommitdiffstats
path: root/main/bridge-utils/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-08-23 20:19:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-08-23 21:37:35 +0000
commitcec59c9a31b98de61666f03481fd4862e44d023a (patch)
tree4e5c6874f080af83f455093d7494f23644a22a4c /main/bridge-utils/APKBUILD
parent91909646720226459cde8a5cffac611896b947ff (diff)
downloadaports-cec59c9a31b98de61666f03481fd4862e44d023a.tar.bz2
aports-cec59c9a31b98de61666f03481fd4862e44d023a.tar.xz
main/bridge-utils: linux-headers build fix
the make will return success even if it fails. so we also check if brctl was successfully built.
Diffstat (limited to 'main/bridge-utils/APKBUILD')
-rw-r--r--main/bridge-utils/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/bridge-utils/APKBUILD b/main/bridge-utils/APKBUILD
index bb6c3850bb..7910e305f9 100644
--- a/main/bridge-utils/APKBUILD
+++ b/main/bridge-utils/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bridge-utils
pkgver=1.5
-pkgrel=3
+pkgrel=5
pkgdesc="Tools for configuring the Linux kernel 802.1d Ethernet Bridge"
url="http://sourceforge.net/projects/bridge/"
arch="all"
license="GPL2+"
subpackages="$pkgname-doc"
depends=""
-makedepends="autoconf"
+makedepends="autoconf linux-headers"
source="http://downloads.sourceforge.net/project/bridge/bridge/bridge-utils-$pkgver.tar.gz
00-musl-headers.patch
"
@@ -28,7 +28,7 @@ prepare() {
build() {
cd "$_builddir"
- autoconf
+ autoconf || return 1
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -38,6 +38,7 @@ build() {
--includedir=/usr/include \
|| return 1
make || return 1
+ test -x brctl/brctl || return 1
}
package() {