diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-09-22 09:47:24 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-09-22 09:56:53 +0000 |
commit | 2046f64824620523835fb903e3eb0d1be9b8250e (patch) | |
tree | 5071f6acce85425d38c42bad53636ee724309b35 /testing/opensm | |
parent | 69056af70ba9ad297b07674ebaf54531bec758bc (diff) | |
download | aports-2046f64824620523835fb903e3eb0d1be9b8250e.tar.bz2 aports-2046f64824620523835fb903e3eb0d1be9b8250e.tar.xz |
testing/opensm: cleanup
Diffstat (limited to 'testing/opensm')
-rw-r--r-- | testing/opensm/APKBUILD | 13 |
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 \ |