summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-03-30 13:39:36 +0000
committerMichał Górny <mgorny@gentoo.org>2014-03-30 13:39:36 +0000
commitd48b58b4f8695080e363cd4afb60273742ec31d5 (patch)
tree2c9804e0138984a0938a3fb0ba676200d641b067 /dev-util
parentAdd unit file (#504148 by Michael Hampicke) (diff)
downloadgentoo-2-d48b58b4f8695080e363cd4afb60273742ec31d5.tar.gz
gentoo-2-d48b58b4f8695080e363cd4afb60273742ec31d5.tar.bz2
gentoo-2-d48b58b4f8695080e363cd4afb60273742ec31d5.zip
Re-use perl path getting from perl-module.eclass, thanks to Mikle Kolyada for the suggestion.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/pkgconfig-openbsd/ChangeLog7
-rw-r--r--dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20130507-r1.ebuild14
2 files changed, 12 insertions, 9 deletions
diff --git a/dev-util/pkgconfig-openbsd/ChangeLog b/dev-util/pkgconfig-openbsd/ChangeLog
index 471e7278a6e3..695b4edd6e18 100644
--- a/dev-util/pkgconfig-openbsd/ChangeLog
+++ b/dev-util/pkgconfig-openbsd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/pkgconfig-openbsd
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconfig-openbsd/ChangeLog,v 1.15 2014/03/30 11:11:13 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconfig-openbsd/ChangeLog,v 1.16 2014/03/30 13:39:36 mgorny Exp $
+
+ 30 Mar 2014; Michał Górny <mgorny@gentoo.org>
+ pkgconfig-openbsd-20130507-r1.ebuild:
+ Re-use perl path getting from perl-module.eclass, thanks to Mikle Kolyada for
+ the suggestion.
*pkgconfig-openbsd-20130507-r1 (30 Mar 2014)
diff --git a/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20130507-r1.ebuild b/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20130507-r1.ebuild
index 6ae1aee75105..d870907fc106 100644
--- a/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20130507-r1.ebuild
+++ b/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20130507-r1.ebuild
@@ -1,10 +1,11 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20130507-r1.ebuild,v 1.1 2014/03/30 11:11:13 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20130507-r1.ebuild,v 1.2 2014/03/30 13:39:36 mgorny Exp $
EAPI=5
-inherit eutils multilib multilib-minimal
+PERL_EXPORT_PHASE_FUNCTIONS=no
+inherit eutils multilib perl-module multilib-minimal
# cvs -d anoncvs@anoncvs.openbsd.org:/cvs get src/usr.bin/pkg-config
@@ -20,9 +21,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+pkg-config"
-DEPEND="dev-lang/perl:="
-RDEPEND="${DEPEND}
- virtual/perl-Getopt-Long
+RDEPEND="virtual/perl-Getopt-Long
pkg-config? (
!dev-util/pkgconfig
!dev-util/pkgconf[pkg-config]
@@ -66,8 +65,7 @@ multilib_src_install_all() {
doins "${WORKDIR}"/pkg-config-*/pkg.m4
fi
- local perl_version=$(perl -e 'printf "%vd", $^V')
-
- insinto /usr/$(get_libdir)/perl5/vendor_perl/${perl_version}
+ perl_set_version
+ insinto "${VENDOR_LIB}"
doins -r "${S}"/usr.bin/pkg-config/OpenBSD
}