aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opensm
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-09-22 09:47:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-09-22 09:56:53 +0000
commit2046f64824620523835fb903e3eb0d1be9b8250e (patch)
tree5071f6acce85425d38c42bad53636ee724309b35 /testing/opensm
parent69056af70ba9ad297b07674ebaf54531bec758bc (diff)
downloadaports-2046f64824620523835fb903e3eb0d1be9b8250e.tar.bz2
aports-2046f64824620523835fb903e3eb0d1be9b8250e.tar.xz
testing/opensm: cleanup
Diffstat (limited to 'testing/opensm')
-rw-r--r--testing/opensm/APKBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/testing/opensm/APKBUILD b/testing/opensm/APKBUILD
index 43bc5b7e0a..31c021940d 100644
--- a/testing/opensm/APKBUILD
+++ b/testing/opensm/APKBUILD
@@ -7,20 +7,25 @@ pkgdesc="OpenSM InfiniBand subnet manager"
url="https://www.openfabrics.org/index.php/openfabrics-software.html"
arch="x86 x86_64"
license="GPL2 BSD"
-depends="libibumad"
+depends=""
depends_dev="libibumad-dev"
-makedepends="$depends_dev"
+makedepends="$depends_dev bison flex"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.openfabrics.org/downloads/management/$pkgname-$pkgver.tar.gz
0001-musl-fixes.patch"
builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ update_config_sub
+ default_prepare || return 1
+}
+
build() {
cd "$builddir"
./configure \
- --build=`echo $CBUILD | sed s/alpine-linux-musl/linux/`\
- --host=`echo $CHOST | sed s/alpine-linux-musl/linux/` \
+ --build=$CBUILD \
+ --host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \