~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[alpine-aports] [PATCH] testing/opensm/APKBUILD: new aport

Jann - Ove Risvik <jann.ove@usaklig.com>
Details
Message ID
<20160709152650.23313-1-jann.ove@usaklig.com>
Sender timestamp
1468078010
DKIM signature
missing
Download raw message
Patch: +13 -2
https://openfabrics.org/index.php/openfabrics-software.html
OpenSM InfiniBand subnet manager

3.rd attempt. This time with update_config_sub
---
 testing/opensm/APKBUILD | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/testing/opensm/APKBUILD b/testing/opensm/APKBUILD
index 43bc5b7..e2ec875 100644
--- a/testing/opensm/APKBUILD
+++ b/testing/opensm/APKBUILD
@@ -16,11 +16,22 @@ source="https://www.openfabrics.org/downloads/management/$pkgname-$pkgver.tar.gz
0001-musl-fixes.patch"

builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	local i
	cd "$builddir"
	update_config_sub || return 1
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

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 \
-- 
2.8.3



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)