~alpine/devel

/main/gcc - make libatomic a subpackage (with pkgrel bumped) v1 PROPOSED

Stuart Cardall: 1
 /main/gcc - make libatomic a subpackage (with pkgrel bumped)

 1 files changed, 14 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/devel/patches/262/mbox | git am -3
Learn more about email & git

[alpine-devel] [PATCH] /main/gcc - make libatomic a subpackage (with pkgrel bumped) Export this patch

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