From 6280d87f52dd924ff2c61d3762b6b9b77b97f5e4 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 18 Apr 2011 11:04:59 +0000 Subject: main/gcc: move out -dbg.py file to sane location --- main/gcc/APKBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'main') diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD index 46072d6af7..b24675370f 100644 --- a/main/gcc/APKBUILD +++ b/main/gcc/APKBUILD @@ -7,7 +7,7 @@ _specs_gcc_ver=4.4.3 _uclibc_abiver=0.9.32 -pkgrel=6 +pkgrel=7 pkgdesc="The GNU Compiler Collection" url="http://gcc.gnu.org" arch="all" @@ -15,6 +15,7 @@ license="GPL LGPL" depends="binutils libgcc libgomp libobjc" makedepends="bison flex gmp-dev mpfr-dev texinfo libmpc-dev gawk zlib-dev zip" subpackages="$pkgname-doc libstdc++:libcxx g++:gpp libgcc libgomp" +replaces="libstdc++" if [ "$LANG_OBJC" != "off" ]; then subpackages="$subpackages libobjc" @@ -203,7 +204,9 @@ package() { rm "$pkgdir"/usr/lib/libffi* find "$pkgdir" -name 'ffi*.h' | xargs rm -f - + mkdir -p "$pkgdir"/usr/share/gdb/python/auto-load/usr/lib + mv "$pkgdir"/usr/lib/*-gdb.py \ + "$pkgdir"/usr/share/gdb/python/auto-load/usr/lib/ } libcxx() { -- cgit v1.2.3