Skip to content
Permalink
update-openssh
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 52 lines (34 sloc) 1.04 KB
#!/bin/env beesh
SRCURL[0]="http://ftp.gnu.org/gnu/gcc/gcc-${PKGVERSION}/gcc-${PKGVERSION[2]}.6.tar.bz2"
PATCHURL[0]="http://www.linuxfromscratch.org/blfs/downloads/6.1/gcc-3.4.3-no_fixincludes-1.patch"
PATCHURL[1]="http://www.linuxfromscratch.org/blfs/downloads/6.1/gcc-3.4.3-linkonce-1.patch"
PGRP=( uncategorized )
BEE_CONFIGURE=compat
# EXCLUDE=""
PREFIX=/usr/local/gcc-${PKGVERSION}
LIBEXECDIR=${PREFIX}/lib
mee_patch() {
bee_patch
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
}
mee_configure() {
bee_configure \
--enable-shared \
--enable-threads=posix \
--enable-__cxa_atexit \
--enable-clocale=gnu \
--enable-languages=c,f77,c++ \
--disable-multilib \
--with-system-zlib
}
mee_build() {
bee_build bootstrap
}
mee_install() {
bee_install
mv ${D}${PREFIX}/lib64/* ${D}${PREFIX}/lib
rmdir ${D}${PREFIX}/lib64
ln -sv lib ${D}${PREFIX}/lib64
mkdir ${D}/usr/bin
ln -sv ${BINDIR}/g77 ${D}/usr/bin
}