diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-04-13 20:05:53 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-04-13 20:05:53 +0000 |
commit | b3bb8fae19d8a761986e2d389ea32365fd962db9 (patch) | |
tree | a79d3041fe405d5731485fc453cd288bfee002f7 /dev-cpp/libpqpp/libpqpp-4.0-r5.ebuild | |
parent | Fix #87036. (diff) | |
download | gentoo-2-b3bb8fae19d8a761986e2d389ea32365fd962db9.tar.gz gentoo-2-b3bb8fae19d8a761986e2d389ea32365fd962db9.tar.bz2 gentoo-2-b3bb8fae19d8a761986e2d389ea32365fd962db9.zip |
Use proper toolchain compiler and multilib fixes. Honor CXXFLAGS.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-cpp/libpqpp/libpqpp-4.0-r5.ebuild')
-rw-r--r-- | dev-cpp/libpqpp/libpqpp-4.0-r5.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-cpp/libpqpp/libpqpp-4.0-r5.ebuild b/dev-cpp/libpqpp/libpqpp-4.0-r5.ebuild new file mode 100644 index 000000000000..a71e97a2ab35 --- /dev/null +++ b/dev-cpp/libpqpp/libpqpp-4.0-r5.ebuild @@ -0,0 +1,35 @@ + # Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libpqpp/libpqpp-4.0-r5.ebuild,v 1.1 2005/04/13 20:05:53 eradicator Exp $ + +inherit eutils toolchain-funcs multilib + +IUSE="" +MY_P=${P/pp/++} +DESCRIPTION="C++ wrapper for the libpq Postgresql library" +HOMEPAGE="http://gborg.postgresql.org/" +SRC_URI="ftp://gborg.postgresql.org/pub/libpqpp/stable/${MY_P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~sparc ~x86" + +DEPEND="virtual/libc >=dev-db/postgresql-7.3 + >=sys-apps/sed-4" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.patch + epatch ${FILESDIR}/${P}-Makefile.patch +} + +src_compile() { + emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" LIBDIR="$(get_libdir)" || die +} + +src_install() { + make DESTDIR="${D}" LIBDIR="$(get_libdir)" install || die + dodoc README CHANGES +} |