summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-11-09 15:24:08 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-11-09 15:24:08 +0000
commit1a617f9e9a603d09bf3a69de7094b03a5785f6c0 (patch)
tree6826b5e28d5a82b0e28d1c47ae4ec6ff1f9357af /dev-cpp
parentppc stable, bug #154434 (diff)
downloadgentoo-2-1a617f9e9a603d09bf3a69de7094b03a5785f6c0.tar.gz
gentoo-2-1a617f9e9a603d09bf3a69de7094b03a5785f6c0.tar.bz2
gentoo-2-1a617f9e9a603d09bf3a69de7094b03a5785f6c0.zip
Small cleanups.
(Portage version: 2.1.2_rc1-r1)
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/libpqpp/ChangeLog6
-rw-r--r--dev-cpp/libpqpp/libpqpp-4.0-r6.ebuild25
2 files changed, 18 insertions, 13 deletions
diff --git a/dev-cpp/libpqpp/ChangeLog b/dev-cpp/libpqpp/ChangeLog
index b34551828072..821da4f587a4 100644
--- a/dev-cpp/libpqpp/ChangeLog
+++ b/dev-cpp/libpqpp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-cpp/libpqpp
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libpqpp/ChangeLog,v 1.15 2006/11/08 21:07:20 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libpqpp/ChangeLog,v 1.16 2006/11/09 15:24:08 dev-zero Exp $
+
+ 09 Nov 2006; Tiziano Müller <dev-zero@gentoo.org> -libpqpp-4.0-r5.ebuild,
+ libpqpp-4.0-r6.ebuild:
+ Small cleanups.
08 Nov 2006; Tiziano Müller <dev-zero@gentoo.org> -libpqpp-4.0-r2.ebuild,
-libpqpp-4.0-r3.ebuild:
diff --git a/dev-cpp/libpqpp/libpqpp-4.0-r6.ebuild b/dev-cpp/libpqpp/libpqpp-4.0-r6.ebuild
index 063a09984d8c..772affcb1990 100644
--- a/dev-cpp/libpqpp/libpqpp-4.0-r6.ebuild
+++ b/dev-cpp/libpqpp/libpqpp-4.0-r6.ebuild
@@ -1,36 +1,37 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libpqpp/libpqpp-4.0-r6.ebuild,v 1.2 2005/05/09 11:55:40 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libpqpp/libpqpp-4.0-r6.ebuild,v 1.3 2006/11/09 15:24:08 dev-zero Exp $
inherit eutils toolchain-funcs multilib
-IUSE=""
+KEYWORDS="amd64 ~sparc ~x86"
+
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"
+IUSE=""
-DEPEND="virtual/libc
- dev-db/libpq
- >=sys-apps/sed-4"
+DEPEND="dev-db/libpq"
+RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-gentoo.patch
- epatch ${FILESDIR}/${P}-Makefile.patch
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+ epatch "${FILESDIR}/${P}-Makefile.patch"
}
src_compile() {
- emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" LIBDIR="$(get_libdir)" || die
+ emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" LIBDIR="$(get_libdir)" || die "emake failed"
}
src_install() {
- make DESTDIR="${D}" LIBDIR="$(get_libdir)" install || die
+ emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install || die "emake install failed"
dodoc README CHANGES
}