aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-04-24 07:40:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-04-24 07:40:59 +0000
commitfa6bf421e4c923db29c5f41af3be67c8941b1743 (patch)
treeff9ade59ca92e5ad63a78d25aa4bf52fe673aae4 /main/gcc/APKBUILD
parentb6db7d8d33493aaf507c01dbe185a40f61618a4d (diff)
downloadaports-fa6bf421e4c923db29c5f41af3be67c8941b1743.tar.bz2
aports-fa6bf421e4c923db29c5f41af3be67c8941b1743.tar.xz
main/gcc: fix gcc plugins
we should keep the plugin/include files in main gcc package otherwise plugins and linux-grsec fails to build
Diffstat (limited to 'main/gcc/APKBUILD')
-rw-r--r--main/gcc/APKBUILD8
1 files changed, 1 insertions, 7 deletions
diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD
index c46d21bc0e..6fad73d1a7 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"
@@ -290,16 +290,10 @@ objc() {
depends="libc-dev gcc=$_gccrel libobjc=$_gccrel"
local gcclibdir=usr/lib/gcc/${CHOST:-$_chost}/$pkgver
mkdir -p "$subpkgdir"/$gcclibdir/include \
- "$subpkgdir"/$gcclibdir/plugin/include \
- "$subpkgdir"/$gcclibdir/plugin/include/c-family \
"$subpkgdir"/usr/lib \
|| return 1
mv "$pkgdir"/$gcclibdir/include/objc "$subpkgdir"/$gcclibdir/include/ \
|| return 1
- mv "$pkgdir"/$gcclibdir/plugin/include/objc \
- "$subpkgdir"/$gcclibdir/plugin/include/ || return 1
- mv "$pkgdir"/$gcclibdir/plugin/include/c-family/c-objc.h \
- "$subpkgdir"/$gcclibdir/plugin/include/c-family || return 1
mv "$pkgdir"/usr/lib/libobjc.so "$pkgdir"/usr/lib/libobjc.a \
"$subpkgdir"/usr/lib/ || return 1
}