|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/STLport-5.0.2.ebuild,v 1.1 2006/03/02 04:59:16 vapier Exp $ | # $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/STLport-5.0.2.ebuild,v 1.1 2006/03/02 04:59:16 vapier Exp $ |
| |
inherit eutils multilib |
inherit eutils toolchain-funcs |
| |
MY_P=${PN}-${PV/_rc/RC} | MY_P=${PN}-${PV/_rc/RC} |
DESCRIPTION="C++ STL library" | DESCRIPTION="C++ STL library" |
|
|
| |
cat <<- EOF >> stlport/config/stl_gcc.h | cat <<- EOF >> stlport/config/stl_gcc.h |
#undef _STLP_NATIVE_INCLUDE_PATH | #undef _STLP_NATIVE_INCLUDE_PATH |
#define _STLP_NATIVE_INCLUDE_PATH ../g++-v3 |
#define _STLP_NATIVE_INCLUDE_PATH ../g++-v$(gcc-major-version) |
EOF | EOF |
} | } |
| |