summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2012-09-11 14:11:20 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2012-09-11 14:11:20 +0000
commitc2f8247ff0b86b2e20296a7e1d35ed590891a272 (patch)
tree1fd93e9f6b26e38576412830239bacb642eddc1b /sci-libs
parentversion bump (diff)
downloadgentoo-2-c2f8247ff0b86b2e20296a7e1d35ed590891a272.tar.gz
gentoo-2-c2f8247ff0b86b2e20296a7e1d35ed590891a272.tar.bz2
gentoo-2-c2f8247ff0b86b2e20296a7e1d35ed590891a272.zip
Depend on Perl and call perl phase functions only if useflag perl is set, bug 433537
(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/linux-gpib/ChangeLog7
-rw-r--r--sci-libs/linux-gpib/linux-gpib-3.2.16-r3.ebuild9
2 files changed, 11 insertions, 5 deletions
diff --git a/sci-libs/linux-gpib/ChangeLog b/sci-libs/linux-gpib/ChangeLog
index c372b5b9e342..c47cb0c708f1 100644
--- a/sci-libs/linux-gpib/ChangeLog
+++ b/sci-libs/linux-gpib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/linux-gpib
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/linux-gpib/ChangeLog,v 1.8 2012/08/25 16:45:17 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/linux-gpib/ChangeLog,v 1.9 2012/09/11 14:11:20 dilfridge Exp $
+
+ 11 Sep 2012; Andreas K. Huettel <dilfridge@gentoo.org>
+ linux-gpib-3.2.16-r3.ebuild:
+ Depend on Perl and call perl phase functions only if useflag perl is set, bug
+ 433537
25 Aug 2012; Samuli Suominen <ssuominen@gentoo.org>
linux-gpib-3.2.16-r3.ebuild:
diff --git a/sci-libs/linux-gpib/linux-gpib-3.2.16-r3.ebuild b/sci-libs/linux-gpib/linux-gpib-3.2.16-r3.ebuild
index 13387b98a078..864c4800e785 100644
--- a/sci-libs/linux-gpib/linux-gpib-3.2.16-r3.ebuild
+++ b/sci-libs/linux-gpib/linux-gpib-3.2.16-r3.ebuild
@@ -1,9 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/linux-gpib/linux-gpib-3.2.16-r3.ebuild,v 1.3 2012/08/25 16:46:18 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/linux-gpib/linux-gpib-3.2.16-r3.ebuild,v 1.4 2012/09/11 14:11:20 dilfridge Exp $
EAPI=4
PERL_EXPORT_PHASE_FUNCTIONS=no
+GENTOO_DEPEND_ON_PERL=no
PYTHON_DEPEND="python? 2"
inherit base linux-mod autotools perl-module python toolchain-funcs user
@@ -37,7 +38,7 @@ PATCHES=(
)
pkg_setup () {
- perl-module_pkg_setup
+ use perl && perl-module_pkg_setup
python_pkg_setup
python_set_active_version 2
linux-mod_pkg_setup
@@ -139,13 +140,13 @@ src_install() {
pkg_preinst () {
linux-mod_pkg_preinst
- perl-module_pkg_preinst
+ use perl && perl-module_pkg_preinst
enewgroup gpib
}
pkg_postinst () {
linux-mod_pkg_postinst
- perl-module_pkg_postinst
+ use perl && perl-module_pkg_postinst
einfo "You need to run the 'gpib_config' utility to setup the driver before"
einfo "you can use it. In order to do it automatically you can add to your"