X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from relay.mailchannels.net (si-002-i45.relay.mailchannels.net [184.154.112.210]) by mail.alpinelinux.org (Postfix) with ESMTP id E5068DC0999 for ; Wed, 16 Apr 2014 00:33:53 +0000 (UTC) X-Sender-Id: thewebhostserver|x-authuser|developer%40it-offshore.co.uk Received: from apollo.thewebhostserver.com (ip-10-244-196-74.us-west-2.compute.internal [10.244.196.74]) by relay.mailchannels.net (Postfix) with ESMTPA id 45E87100150 for ; Wed, 16 Apr 2014 00:33:50 +0000 (UTC) X-Sender-Id: thewebhostserver|x-authuser|developer%40it-offshore.co.uk Received: from apollo.thewebhostserver.com ([UNAVAILABLE]. [10.244.170.26]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:2500 (trex/5.0.19); Wed, 16 Apr 2014 00:33:51 GMT X-MC-Relay: Neutral X-MailChannels-SenderId: thewebhostserver%7Cx-authuser%7Cdeveloper%2540it-offshore.co.uk X-MailChannels-Auth-Id: thewebhostserver Received: from a81-84-17-65.cpe.netcabo.pt ([81.84.17.65]:53916 helo=uclibc.localdomain) by apollo.thewebhostserver.com with esmtpsa (UNKNOWN:AES128-SHA256:128) (Exim 4.82) (envelope-from ) id 1WaDnP-001bJq-5r; Wed, 16 Apr 2014 01:33:47 +0100 From: Stuart Cardall To: alpine-devel@lists.alpinelinux.org Cc: Stuart Cardall Subject: [alpine-devel] [PATCH] /main/gcc - make libatomic a subpackage (with pkgrel bumped) Date: Wed, 16 Apr 2014 00:33:37 +0000 Message-Id: <1397608417-6041-1-git-send-email-developer@it-offshore.co.uk> X-Mailer: git-send-email 1.9.1 X-AuthUser: developer@it-offshore.co.uk X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: This patch has $pkgrel correctly bumped to r7 --- main/gcc/APKBUILD | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD index cba7184..6f0478c 100644 --- a/main/gcc/APKBUILD +++ b/main/gcc/APKBUILD @@ -9,7 +9,7 @@ _cross="" && _cross="-$CTARGET" pkgname="$pkgname$_cross" -pkgrel=6 +pkgrel=7 pkgdesc="The GNU Compiler Collection" url="http://gcc.gnu.org" arch="all" @@ -105,6 +105,8 @@ x86 | x86_64) LIBQUADMATH=$LANG_FORTRAN ;; *) LIBQUADMATH=false ;; esac +# libatomic is a dependency for openvswitch +$LIBATOMIC && subpackages="$subpackages libatomic" $LIBGCC && subpackages="$subpackages libgcc" $LIBQUADMATH && subpackages="$subpackages libquadmath" if $LIBGOMP; then @@ -427,6 +429,17 @@ package() { fi } +libatomic() { + pkgdesc="GCC Atomic library" + depends= + CARCH="$CTARGET_ARCH" + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libatomic.so.* "$subpkgdir"/usr/lib/ || \ + cp -a "$pkgdir"/usr/$CTARGET/lib/libatomic.so.* "$subpkgdir"/usr/lib/ || \ + return 1 +} + libcxx() { pkgdesc="GNU C++ standard runtime library" depends= -- 1.9.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---