|
|
unpack ${A} | unpack ${A} |
cd "${S}" | cd "${S}" |
use static && epatch "${FILESDIR}"/p7zip-4.16_x86_static.patch | use static && epatch "${FILESDIR}"/p7zip-4.16_x86_static.patch |
# be aware that CXX is now gcc in pattern due to upstream (radek@20060318) |
|
sed -i \ | sed -i \ |
-e "/^CXX=/s:gcc:$(tc-getCXX):" \ |
-e "/^CXX=/s:g++:$(tc-getCXX):" \ |
-e "/^CC=/s:gcc:$(tc-getCC):" \ | -e "/^CC=/s:gcc:$(tc-getCC):" \ |
-e "s:OPTFLAGS=-O:OPTFLAGS=${CXXFLAGS}:" \ | -e "s:OPTFLAGS=-O:OPTFLAGS=${CXXFLAGS}:" \ |
makefile* || die "changing makefiles" | makefile* || die "changing makefiles" |