summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-12-22 15:27:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-12-22 15:27:41 +0000
commite31de0d33d237461e35bfecf9909f260bab17a4e (patch)
treec8b50be57ad61207917cbdaa9d8bc50ea43db923 /main
parentd5b3f4f0ed5ada9cf44905869d2dcb7ceabdb6a6 (diff)
downloadaports-e31de0d33d237461e35bfecf9909f260bab17a4e.tar.bz2
aports-e31de0d33d237461e35bfecf9909f260bab17a4e.tar.xz
main/gcc: remove ffi docs
fixes #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 ae6af04ba..e049ac24e 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=1
+pkgrel=2
pkgdesc="The GNU Compiler Collection"
url="http://gcc.gnu.org"
arch="all"
@@ -236,7 +236,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