gcc: remove wrong symlinks.
This commit is contained in:
parent
4a8181db17
commit
1c1bf6aba0
7 changed files with 8 additions and 40 deletions
|
@ -5,7 +5,7 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains GCC C++ support."
|
This package contains GCC C++ support."
|
||||||
|
|
||||||
revision=1
|
revision=2
|
||||||
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
Add_dependency run zlib
|
Add_dependency run zlib
|
||||||
|
@ -20,11 +20,6 @@ Add_dependency run libstdc++-devel ">=$version"
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
# create version -> major symlink
|
|
||||||
vmkdir usr/lib/gcc/${_triplet}/${_majorver}
|
|
||||||
ln -sf /usr/lib/gcc/${_triplet}/${_majorver} \
|
|
||||||
${DESTDIR}/usr/lib/gcc/${_triplet}/${version}
|
|
||||||
|
|
||||||
for f in g++ c++ ${_triplet}-g++ ${_triplet}-c++; do
|
for f in g++ c++ ${_triplet}-g++ ${_triplet}-c++; do
|
||||||
vmove usr/bin/${f} usr/bin
|
vmove usr/bin/${f} usr/bin
|
||||||
done
|
done
|
||||||
|
|
|
@ -5,7 +5,7 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains the GCC Fortran frontend."
|
This package contains the GCC Fortran frontend."
|
||||||
|
|
||||||
revision=1
|
revision=2
|
||||||
|
|
||||||
Add_dependency run libgcc ">=$version"
|
Add_dependency run libgcc ">=$version"
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
|
@ -20,11 +20,6 @@ Add_dependency run gcc ">=$version"
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
# create version -> major symlink
|
|
||||||
vmkdir usr/lib/gcc/${_triplet}/${_majorver}
|
|
||||||
ln -sf /usr/lib/gcc/${_triplet}/${_majorver} \
|
|
||||||
${DESTDIR}/usr/lib/gcc/${_triplet}/${version}
|
|
||||||
|
|
||||||
for f in gfortran ${_triplet}-gfortran; do
|
for f in gfortran ${_triplet}-gfortran; do
|
||||||
vmove usr/bin/${f} usr/bin
|
vmove usr/bin/${f} usr/bin
|
||||||
done
|
done
|
||||||
|
|
|
@ -5,7 +5,7 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains the GCC Go frontend."
|
This package contains the GCC Go frontend."
|
||||||
|
|
||||||
revision=1
|
revision=2
|
||||||
|
|
||||||
Add_dependency run libgcc ">=$version"
|
Add_dependency run libgcc ">=$version"
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
|
@ -21,11 +21,6 @@ Add_dependency run libgo-devel ">=$version"
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
# create version -> major symlink
|
|
||||||
vmkdir usr/lib/gcc/${_triplet}/${_majorver}
|
|
||||||
ln -sf /usr/lib/gcc/${_triplet}/${_majorver} \
|
|
||||||
${DESTDIR}/usr/lib/gcc/${_triplet}/${version}
|
|
||||||
|
|
||||||
for f in gccgo ${_triplet}-gccgo; do
|
for f in gccgo ${_triplet}-gccgo; do
|
||||||
vmove usr/bin/${f} usr/bin
|
vmove usr/bin/${f} usr/bin
|
||||||
done
|
done
|
||||||
|
|
|
@ -5,7 +5,7 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains GCC Objective-C++ support."
|
This package contains GCC Objective-C++ support."
|
||||||
|
|
||||||
revision=1
|
revision=2
|
||||||
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
Add_dependency run zlib
|
Add_dependency run zlib
|
||||||
|
@ -20,11 +20,6 @@ Add_dependency run gcc-objc ">=$version"
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
# create version -> major symlink
|
|
||||||
vmkdir usr/lib/gcc/${_triplet}/${_majorver}
|
|
||||||
ln -sf /usr/lib/gcc/${_triplet}/${_majorver} \
|
|
||||||
${DESTDIR}/usr/lib/gcc/${_triplet}/${version}
|
|
||||||
|
|
||||||
vmove usr/lib/gcc/${_triplet}/${_majorver}/cc1objplus \
|
vmove usr/lib/gcc/${_triplet}/${_majorver}/cc1objplus \
|
||||||
usr/lib/gcc/${_triplet}/${_majorver}
|
usr/lib/gcc/${_triplet}/${_majorver}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains GCC Objective-C support."
|
This package contains GCC Objective-C support."
|
||||||
|
|
||||||
revision=1
|
revision=2
|
||||||
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
Add_dependency run zlib
|
Add_dependency run zlib
|
||||||
|
@ -20,11 +20,6 @@ Add_dependency run libobjc ">=$version"
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
# create version -> major symlink
|
|
||||||
vmkdir usr/lib/gcc/${_triplet}/${_majorver}
|
|
||||||
ln -sf /usr/lib/gcc/${_triplet}/${_majorver} \
|
|
||||||
${DESTDIR}/usr/lib/gcc/${_triplet}/${version}
|
|
||||||
|
|
||||||
vmove usr/lib/gcc/${_triplet}/${_majorver}/include/objc \
|
vmove usr/lib/gcc/${_triplet}/${_majorver}/include/objc \
|
||||||
usr/lib/gcc/${_triplet}/${_majorver}/include
|
usr/lib/gcc/${_triplet}/${_majorver}/include
|
||||||
vmove usr/lib/gcc/${_triplet}/${_majorver}/cc1obj \
|
vmove usr/lib/gcc/${_triplet}/${_majorver}/cc1obj \
|
||||||
|
|
|
@ -6,18 +6,13 @@ long_desc="${long_desc}
|
||||||
This package contains the Stack Smashing Protection development
|
This package contains the Stack Smashing Protection development
|
||||||
files provided by GCC."
|
files provided by GCC."
|
||||||
|
|
||||||
revision=1
|
revision=2
|
||||||
|
|
||||||
Add_dependency run glibc-devel
|
Add_dependency run glibc-devel
|
||||||
Add_dependency run libssp
|
Add_dependency run libssp
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
{
|
{
|
||||||
# create version -> major symlink
|
|
||||||
vmkdir usr/lib/gcc/${_triplet}/${_majorver}
|
|
||||||
ln -sf /usr/lib/gcc/${_triplet}/${_majorver} \
|
|
||||||
${DESTDIR}/usr/lib/gcc/${_triplet}/${version}
|
|
||||||
|
|
||||||
vmove "usr/lib/libssp*.a" usr/lib
|
vmove "usr/lib/libssp*.a" usr/lib
|
||||||
vmove usr/lib/libssp.so usr/lib
|
vmove usr/lib/libssp.so usr/lib
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ long_desc="${long_desc}
|
||||||
This package contains GCC Header files and libraries for
|
This package contains GCC Header files and libraries for
|
||||||
C++ development."
|
C++ development."
|
||||||
|
|
||||||
revision=1
|
revision=2
|
||||||
|
|
||||||
Add_dependency run libstdc++ ">=$version"
|
Add_dependency run libstdc++ ">=$version"
|
||||||
|
|
||||||
|
@ -14,7 +14,5 @@ do_install()
|
||||||
{
|
{
|
||||||
vmove "usr/lib/libstdc++.*a" usr/lib
|
vmove "usr/lib/libstdc++.*a" usr/lib
|
||||||
vmove "usr/lib/libsupc++.*" usr/lib
|
vmove "usr/lib/libsupc++.*" usr/lib
|
||||||
vmove usr/include/c++/${_majorver} usr/include/c++
|
vmove usr/include/c++ usr/include
|
||||||
ln -sf /usr/include/c++/${_majorver} \
|
|
||||||
${DESTDIR}/usr/include/c++/${version}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue