aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-12-22 13:24:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-12-22 13:24:45 +0000
commit4d33d662fa961cc4d7145e500730848bb0884b05 (patch)
tree02eb729995c666ca7ac4d0820f690789e040ab2d /main
parentc2b8bb37691f6b8abbb53c0b8a56a05bf4bdb0b2 (diff)
downloadaports-4d33d662fa961cc4d7145e500730848bb0884b05.tar.bz2
aports-4d33d662fa961cc4d7145e500730848bb0884b05.tar.xz
main/gcc: remove libffi docs
ref #870
Diffstat (limited to 'main')
-rw-r--r--main/gcc/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD
index 70ae9ea6d..ce5094768 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=3
+pkgrel=4
pkgdesc="The GNU Compiler Collection"
url="http://gcc.gnu.org"
arch="all"
@@ -228,7 +228,8 @@ package() {
"$pkdir"/usr/lib/libgcj.spec
# remove ffi
- rm "$pkgdir"/usr/lib/libffi*
+ rm "$pkgdir"/usr/lib/libffi* "$pkgdir"/usr/share/man/man3/ffi* \
+ || return 1
find "$pkgdir" -name 'ffi*.h' | xargs rm -f
mkdir -p "$pkgdir"/usr/share/gdb/python/auto-load/usr/lib