diff options
author | Caleb Tennis <caleb@gentoo.org> | 2005-10-12 13:21:26 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2005-10-12 13:21:26 +0000 |
commit | ef3a7482a47627353ba91d32d115dc9f3a042479 (patch) | |
tree | a0d4b798389edb2dfdddc1a1b56dd27b9cbd0cff /dev-cpp/gccxml/gccxml-0.6.0-r1.ebuild | |
parent | Update header. (diff) | |
download | historical-ef3a7482a47627353ba91d32d115dc9f3a042479.tar.gz historical-ef3a7482a47627353ba91d32d115dc9f3a042479.tar.bz2 historical-ef3a7482a47627353ba91d32d115dc9f3a042479.zip |
Adding a patch that allows this package to compile with older and newer GCC versions
Package-Manager: portage-2.0.53_rc5
Diffstat (limited to 'dev-cpp/gccxml/gccxml-0.6.0-r1.ebuild')
-rw-r--r-- | dev-cpp/gccxml/gccxml-0.6.0-r1.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-cpp/gccxml/gccxml-0.6.0-r1.ebuild b/dev-cpp/gccxml/gccxml-0.6.0-r1.ebuild new file mode 100644 index 000000000000..bcd795aa8767 --- /dev/null +++ b/dev-cpp/gccxml/gccxml-0.6.0-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gccxml/gccxml-0.6.0-r1.ebuild,v 1.1 2005/10/12 13:21:26 caleb Exp $ + +inherit versionator eutils +PVM="$(get_version_component_range 1-2)" +DESCRIPTION="XML output extension to GCC" +HOMEPAGE="http://www.gccxml.org/" +SRC_URI="http://www.gccxml.org/files/v${PVM}/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~mips ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="dev-util/cmake" +RDEPEND="" + +MYBUILDDIR=${WORKDIR}/build +src_unpack() { + mkdir ${MYBUILDDIR} + unpack ${A} + cd ${S} + epatch ${FILESDIR}/obstack.h.diff +} +src_compile() { + cd ${MYBUILDDIR} + cmake ../${P} -DCMAKE_INSTALL_PREFIX:PATH=/usr || die "cmake failed" + emake || die "emake failed" +} + +src_install() { + cd ${MYBUILDDIR} + make DESTDIR=${D} install || die +} |