summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2006-08-11 14:30:09 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2006-08-11 14:30:09 +0000
commit961e47847b2088d7f60b81f9738a23506f7a6452 (patch)
treea5a20f27b5483136416703bce4f4360ea385fee9 /www-apps
parentUpdated eclass with patch from Frank Richter <resqu@gmx.ch> in bug #137423. (diff)
downloadgentoo-2-961e47847b2088d7f60b81f9738a23506f7a6452.tar.gz
gentoo-2-961e47847b2088d7f60b81f9738a23506f7a6452.tar.bz2
gentoo-2-961e47847b2088d7f60b81f9738a23506f7a6452.zip
Added a check for clearsilver being built with USE=python. Resolves bug #143572.
(Portage version: 2.1.1_pre4-r2)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/trac/ChangeLog6
-rw-r--r--www-apps/trac/trac-0.9.6.ebuild16
2 files changed, 18 insertions, 4 deletions
diff --git a/www-apps/trac/ChangeLog b/www-apps/trac/ChangeLog
index 3637f498b2e5..769b2b2ca05d 100644
--- a/www-apps/trac/ChangeLog
+++ b/www-apps/trac/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-apps/trac
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.39 2006/07/13 18:19:15 tsunam Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/ChangeLog,v 1.40 2006/08/11 14:30:09 betelgeuse Exp $
+
+ 11 Aug 2006; Petteri Räty <betelgeuse@gentoo.org> trac-0.9.6.ebuild:
+ Added a check for clearsilver being built with USE=python. Resolves bug
+ #143572.
13 Jul 2006; Joshua Jackson <tsunam@gentoo.org> trac-0.9.6.ebuild:
stable x86; security bug #139467
diff --git a/www-apps/trac/trac-0.9.6.ebuild b/www-apps/trac/trac-0.9.6.ebuild
index 170f34a39313..e94bcfbe9a9d 100644
--- a/www-apps/trac/trac-0.9.6.ebuild
+++ b/www-apps/trac/trac-0.9.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.9.6.ebuild,v 1.3 2006/07/13 18:19:15 tsunam Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/trac-0.9.6.ebuild,v 1.4 2006/08/11 14:30:09 betelgeuse Exp $
inherit distutils webapp
@@ -45,6 +45,16 @@ pkg_setup () {
die "pkg_setup failed"
fi
+ if ! built_with_use dev-libs/clearsilver python ; then
+ eerror "Your clearsilver has been built without python bindings,"
+ eerror "please enable the 'python' useflag and recompile"
+ eerror "dev-libs/clearsilver."
+ eerror ""
+ eerror "See the Handbook for more information about use flags:"
+ eerror "http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2"
+ die "clearsilver built without python support"
+ fi
+
ebegin "Creating tracd group and user"
enewgroup tracd
enewuser tracd -1 -1 -1 tracd
@@ -86,6 +96,6 @@ src_install () {
webapp_src_install
- cp ${FILESDIR}/tracd.confd ${T}/tracd && doconfd ${T}/tracd
- cp ${FILESDIR}/tracd.initd ${T}/tracd && doinitd ${T}/tracd
+ newconfd "${FILESDIR}"/tracd.confd tracd
+ newinitd "${FILESDIR}"/tracd.initd tracd
}