summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2012-08-13 15:54:08 +0000
committerMatti Bickel <mabi@gentoo.org>2012-08-13 15:54:08 +0000
commit11dd48bd9cc1e75bee4c2d6594f2657e36ac00f0 (patch)
tree3932e050e9f13eca6394a73ae5f16eaffe70bf78 /eclass/fox.eclass
parentVersion bump stable 0.2.2 branch (diff)
downloadgentoo-2-11dd48bd9cc1e75bee4c2d6594f2657e36ac00f0.tar.gz
gentoo-2-11dd48bd9cc1e75bee4c2d6594f2657e36ac00f0.tar.bz2
gentoo-2-11dd48bd9cc1e75bee4c2d6594f2657e36ac00f0.zip
Add updated info statement about fox17.pc re bug #426718
Diffstat (limited to 'eclass/fox.eclass')
-rw-r--r--eclass/fox.eclass25
1 files changed, 17 insertions, 8 deletions
diff --git a/eclass/fox.eclass b/eclass/fox.eclass
index 06b26a840c98..63d2c51ef715 100644
--- a/eclass/fox.eclass
+++ b/eclass/fox.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/fox.eclass,v 1.15 2012/02/12 21:45:28 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/fox.eclass,v 1.16 2012/08/13 15:54:08 mabi Exp $
# @ECLASS: fox.eclass
# @MAINTAINER:
@@ -210,12 +210,21 @@ fox_pkg_postinst() {
einfo "(adie, calculator, pathfinder, shutterbug) are now available as"
einfo "separate ebuilds."
echo
- einfo "The fox-config script has been installed as fox-${FOXVER}-config."
- einfo "The fox-wrapper package is used to direct calls to fox-config"
- einfo "to the correct versioned script, based on the WANT_FOX variable."
- einfo "For example:"
- einfo
- einfo " WANT_FOX=\"${FOXVER}\" fox-config <options>"
+
+ if version_is_at_least "1.7.25"; then
+ einfo "Fox versions after 1.7.25 ships a pkg-config file called fox17.pc"
+ einfo "instead of the previous fox-config tool."
+ einfo "You now get all info via pkg-config:"
+ einfo
+ einfo "pkg-config fox17 --libs (etc.)"
+ else
+ einfo "The fox-config script has been installed as fox-${FOXVER}-config."
+ einfo "The fox-wrapper package is used to direct calls to fox-config"
+ einfo "to the correct versioned script, based on the WANT_FOX variable."
+ einfo "For example:"
+ einfo
+ einfo " WANT_FOX=\"${FOXVER}\" fox-config <options>"
+ fi
einfo
fi
}