X-Original-To: alpine-aports@lists.alpinelinux.org Received: from newmail.tetrasec.net (unknown [172.21.74.12]) by lists.alpinelinux.org (Postfix) with ESMTP id 309475C429E for ; Thu, 22 Sep 2016 09:38:49 +0000 (GMT) Received: from ncopa-desktop.copa.dup.pw (229.63.200.37.customer.cdi.no [37.200.63.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by newmail.tetrasec.net (Postfix) with ESMTPSA id 8B0AB5A1244; Thu, 22 Sep 2016 09:38:48 +0000 (GMT) Date: Thu, 22 Sep 2016 11:38:43 +0200 From: Natanael Copa To: Jann - Ove Risvik Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] testing/libibumad: new aport Message-ID: <20160922113843.7cc0c56f@ncopa-desktop.copa.dup.pw> In-Reply-To: <20160709152110.10741-1-jann.ove@usaklig.com> References: <20160709152110.10741-1-jann.ove@usaklig.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 9 Jul 2016 17:21:10 +0200 Jann - Ove Risvik wrote: > https://openfabrics.org/index.php/openfabrics-software.html > Interface to ib_umad module (user_mad) library. (InfiniBand) > > 3.rd attempt. This time with update_config_sub > --- > testing/libibumad/APKBUILD | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > > diff --git a/testing/libibumad/APKBUILD b/testing/libibumad/APKBUILD > index 59af7e0..b3de51a 100644 > --- a/testing/libibumad/APKBUILD > +++ b/testing/libibumad/APKBUILD > @@ -16,11 +16,17 @@ source="https://www.openfabrics.org/downloads/management/$pkgname-$pkgver.tar.gz > " > > builddir="$srcdir"/$pkgname-$pkgver > +prepare() { > + cd "$_builddir" > + update_config_sub || 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 \ I finally merged this with the previous (Attempt 2) cleaned it up a bit and fixed the commit message (no need to mention in commit message that it is second or third attempt). Thanks -nc --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---