diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2008-04-21 03:00:50 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2008-04-21 03:00:50 +0000 |
commit | 384ad091fb6ad9b5fb6171f70e8f67b3323a02cd (patch) | |
tree | b80e0ceccf57e8fae68e9c9c40944ecc34464df7 /dev-db/mysql++/mysql++-2.3.2.ebuild | |
parent | Add back lost ebegin. (diff) | |
download | gentoo-2-384ad091fb6ad9b5fb6171f70e8f67b3323a02cd.tar.gz gentoo-2-384ad091fb6ad9b5fb6171f70e8f67b3323a02cd.tar.bz2 gentoo-2-384ad091fb6ad9b5fb6171f70e8f67b3323a02cd.zip |
Add patch for GCC 4.3. Fix quoting issues.
(Portage version: 2.2_pre5)
Diffstat (limited to 'dev-db/mysql++/mysql++-2.3.2.ebuild')
-rw-r--r-- | dev-db/mysql++/mysql++-2.3.2.ebuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/dev-db/mysql++/mysql++-2.3.2.ebuild b/dev-db/mysql++/mysql++-2.3.2.ebuild index 55bd4ad5e56b..006093f8d6c1 100644 --- a/dev-db/mysql++/mysql++-2.3.2.ebuild +++ b/dev-db/mysql++/mysql++-2.3.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/mysql++-2.3.2.ebuild,v 1.2 2008/01/16 05:36:20 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql++/mysql++-2.3.2.ebuild,v 1.3 2008/04/21 03:00:49 dirtyepic Exp $ inherit eutils @@ -18,9 +18,12 @@ RDEPEND="${DEPEND} >=virtual/mysql-4.0" src_unpack() { - unpack "${A}" + unpack ${A} cd "${S}" - for i in ${S}/lib/*.h ; do + + epatch "${FILESDIR}"/${P}-gcc-4.3.patch + + for i in "${S}"/lib/*.h ; do sed -i \ -e '/#include </s,mysql.h,mysql/mysql.h,g' \ -e '/#include </s,mysql_version.h,mysql/mysql_version.h,g' \ @@ -46,10 +49,10 @@ src_compile() { } src_install() { - make DESTDIR="${D}" install || die + emake DESTDIR="${D}" install || die # install the docs and HTML pages dodoc README* CREDITS ChangeLog HACKERS Wishlist dodoc doc/* - cp -ra doc/html ${D}/usr/share/doc/${PF}/html + cp -ra doc/html "${D}"/usr/share/doc/${PF}/html prepalldocs } |