aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-18 11:04:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-18 11:05:53 +0000
commit6280d87f52dd924ff2c61d3762b6b9b77b97f5e4 (patch)
tree559d26a7c256588562a1340eaa46432a8d637ade /main/gcc/APKBUILD
parentf198913c1569204901f22a5d9a55859f0c9a7848 (diff)
downloadaports-6280d87f52dd924ff2c61d3762b6b9b77b97f5e4.tar.bz2
aports-6280d87f52dd924ff2c61d3762b6b9b77b97f5e4.tar.xz
main/gcc: move out -dbg.py file to sane location
Diffstat (limited to 'main/gcc/APKBUILD')
-rw-r--r--main/gcc/APKBUILD7
1 files changed, 5 insertions, 2 deletions
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() {