* [gentoo-commits] gentoo-x86 commit in eclass: db-use.eclass
@ 2009-11-24 5:24 Robin H. Johnson (robbat2)
0 siblings, 0 replies; 2+ messages in thread
From: Robin H. Johnson (robbat2) @ 2009-11-24 5:24 UTC (permalink / raw
To: gentoo-commits
robbat2 09/11/24 05:24:20
Modified: db-use.eclass
Log:
Make this a bit quieter.
Revision Changes Path
1.8 eclass/db-use.eclass
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/db-use.eclass?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/db-use.eclass?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/db-use.eclass?r1=1.7&r2=1.8
Index: db-use.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/db-use.eclass,v
retrieving revision 1.7
retrieving revision 1.8
diff -p -w -b -B -u -u -r1.7 -r1.8
--- db-use.eclass 13 Jul 2006 13:11:14 -0000 1.7
+++ db-use.eclass 24 Nov 2009 05:24:20 -0000 1.8
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/db-use.eclass,v 1.7 2006/07/13 13:11:14 pauldv Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/db-use.eclass,v 1.8 2009/11/24 05:24:20 robbat2 Exp $
# This is a common location for functions that aid the use of sys-libs/db
#
# Bugs: pauldv@gentoo.org
@@ -36,7 +36,7 @@ db_findver() {
PKG="$(best_version $1)"
VER="$(get_version_component_range 1-2 "${PKG/*db-/}")"
if [ -d /usr/include/db$(db_ver_to_slot "$VER") ]; then
- einfo "Found db version ${VER}" >&2
+ #einfo "Found db version ${VER}" >&2
echo -n "$VER"
return 0
else
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in eclass: db-use.eclass
@ 2010-05-12 11:19 Diego Petteno (flameeyes)
0 siblings, 0 replies; 2+ messages in thread
From: Diego Petteno (flameeyes) @ 2010-05-12 11:19 UTC (permalink / raw
To: gentoo-commits
flameeyes 10/05/12 11:19:29
Modified: db-use.eclass
Log:
Fix db-use.eclass to work with sys-libs/db-5.0.
Revision Changes Path
1.9 eclass/db-use.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/db-use.eclass?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/db-use.eclass?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/db-use.eclass?r1=1.8&r2=1.9
Index: db-use.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/db-use.eclass,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- db-use.eclass 24 Nov 2009 05:24:20 -0000 1.8
+++ db-use.eclass 12 May 2010 11:19:29 -0000 1.9
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/db-use.eclass,v 1.8 2009/11/24 05:24:20 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/db-use.eclass,v 1.9 2010/05/12 11:19:29 flameeyes Exp $
# This is a common location for functions that aid the use of sys-libs/db
#
# Bugs: pauldv@gentoo.org
@@ -18,7 +18,11 @@
done
return 1
fi
- echo -n "${1/.0/}"
+ # 5.0.x uses 5.0 as slot value, so this replacement will break it;
+ # older sys-libs/db might have been using this but it's no longer
+ # the case, so make it work for latest rather than older stuff.
+ # echo -n "${1/.0/}"
+ echo -n "$1"
}
#Find the version that correspond to the given atom
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-12 11:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-24 5:24 [gentoo-commits] gentoo-x86 commit in eclass: db-use.eclass Robin H. Johnson (robbat2)
-- strict thread matches above, loose matches on Subject: below --
2010-05-12 11:19 Diego Petteno (flameeyes)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox