summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2011-11-19 10:56:30 +0000
committerHanno Böck <hanno@gentoo.org>2011-11-19 10:56:30 +0000
commit23be1716167bea5f2162abe758bec6c2b9762872 (patch)
treedd8770042b799947b27562c3efd593f5e1e665e9 /dev-php/PEAR-DB_DataObject
parentVersion bump for Rails 3.0.11. (diff)
downloadgentoo-2-23be1716167bea5f2162abe758bec6c2b9762872.tar.gz
gentoo-2-23be1716167bea5f2162abe758bec6c2b9762872.tar.bz2
gentoo-2-23be1716167bea5f2162abe758bec6c2b9762872.zip
Move sed from src_unpack to src_prepare to avoid EAPI=4 repoman warnings.
(Portage version: 2.1.10.35/cvs/Linux x86_64)
Diffstat (limited to 'dev-php/PEAR-DB_DataObject')
-rw-r--r--dev-php/PEAR-DB_DataObject/ChangeLog5
-rw-r--r--dev-php/PEAR-DB_DataObject/PEAR-DB_DataObject-1.9.6.ebuild7
2 files changed, 7 insertions, 5 deletions
diff --git a/dev-php/PEAR-DB_DataObject/ChangeLog b/dev-php/PEAR-DB_DataObject/ChangeLog
index a929691249d2..c70ccca0b754 100644
--- a/dev-php/PEAR-DB_DataObject/ChangeLog
+++ b/dev-php/PEAR-DB_DataObject/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-php/PEAR-DB_DataObject
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-DB_DataObject/ChangeLog,v 1.41 2011/11/18 15:36:16 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-DB_DataObject/ChangeLog,v 1.42 2011/11/19 10:56:30 hanno Exp $
+
+ 19 Nov 2011; Hanno Boeck <hanno@gentoo.org> PEAR-DB_DataObject-1.9.6.ebuild:
+ move sed to src_prepare to avoid repoman warnings.
18 Nov 2011; Jeroen Roovers <jer@gentoo.org> PEAR-DB_DataObject-1.9.6.ebuild:
Stable for HPPA (bug #390857).
diff --git a/dev-php/PEAR-DB_DataObject/PEAR-DB_DataObject-1.9.6.ebuild b/dev-php/PEAR-DB_DataObject/PEAR-DB_DataObject-1.9.6.ebuild
index 960f60ea1e47..da7566e839fe 100644
--- a/dev-php/PEAR-DB_DataObject/PEAR-DB_DataObject-1.9.6.ebuild
+++ b/dev-php/PEAR-DB_DataObject/PEAR-DB_DataObject-1.9.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-DB_DataObject/PEAR-DB_DataObject-1.9.6.ebuild,v 1.2 2011/11/18 15:36:16 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-DB_DataObject/PEAR-DB_DataObject-1.9.6.ebuild,v 1.3 2011/11/19 10:56:30 hanno Exp $
EAPI="4"
@@ -19,8 +19,7 @@ RDEPEND=">=dev-php/PEAR-DB-1.7.6-r1
!minimal? ( >=dev-php/PEAR-Validate-0.5.0-r1
>=dev-php/PEAR-MDB2-2.0.0_rc1 )"
-src_unpack() {
- unpack "${A}"
+src_prepare() {
# don't install windows-only stuff
- sed -re 's:<file baseinstalldir="DB" md5sum=".{32}" name="scripts/DB_DataObject_createTables.bat" role="script" />::' -i package.xml || die "sed failed"
+ sed -re 's:<file baseinstalldir="DB" md5sum=".{32}" name="scripts/DB_DataObject_createTables.bat" role="script" />::' -i "${WORKDIR}/package.xml" || die "sed failed"
}