diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-17 00:43:04 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-17 00:43:04 +0000 |
commit | 8695645507dc1a375d9f5fa1be8c958d1929abf2 (patch) | |
tree | 3ec01be9544bf4b7e2cb33d6f2ddd009a34271ad /dev-util | |
parent | Remove old. (diff) | |
download | gentoo-2-8695645507dc1a375d9f5fa1be8c958d1929abf2.tar.gz gentoo-2-8695645507dc1a375d9f5fa1be8c958d1929abf2.tar.bz2 gentoo-2-8695645507dc1a375d9f5fa1be8c958d1929abf2.zip |
Use "archname" instead of "ARCH" from Config.pm of dev-lang/perl to avoid warning "Use of uninitialized value $machine_arch in string eq at /usr/bin/pkg-config-openbsd line 114."
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/pkgconfig-openbsd/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20120116.ebuild | 7 |
2 files changed, 13 insertions, 2 deletions
diff --git a/dev-util/pkgconfig-openbsd/ChangeLog b/dev-util/pkgconfig-openbsd/ChangeLog index d453c301372e..1e98350a1480 100644 --- a/dev-util/pkgconfig-openbsd/ChangeLog +++ b/dev-util/pkgconfig-openbsd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/pkgconfig-openbsd # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconfig-openbsd/ChangeLog,v 1.1 2012/01/16 22:15:00 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconfig-openbsd/ChangeLog,v 1.2 2012/01/17 00:43:04 ssuominen Exp $ + + 17 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> + pkgconfig-openbsd-20120116.ebuild: + Use "archname" instead of "ARCH" from Config.pm of dev-lang/perl to avoid + warning "Use of uninitialized value $machine_arch in string eq at + /usr/bin/pkg-config-openbsd line 114." *pkgconfig-openbsd-20120116 (16 Jan 2012) diff --git a/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20120116.ebuild b/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20120116.ebuild index 611e7c65211a..3491b1ecb461 100644 --- a/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20120116.ebuild +++ b/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20120116.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20120116.ebuild,v 1.1 2012/01/16 22:15:00 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/pkgconfig-openbsd/pkgconfig-openbsd-20120116.ebuild,v 1.2 2012/01/17 00:43:04 ssuominen Exp $ # cvs -d anoncvs@anoncvs.openbsd.org:/cvs get src/usr.bin/pkg-config/pkg-config # cvs -d anoncvs@anoncvs.openbsd.org:/cvs get src/usr.bin/pkg-config/pkg-config.1 @@ -22,6 +22,11 @@ DEPEND="" S=${WORKDIR}/src +src_prepare() { + # Config.pm from dev-lang/perl doesn't set ARCH, only archname + sed -i -e '/Config/s:ARCH:archname:' usr.bin/pkg-config/pkg-config || die +} + src_install() { newbin usr.bin/pkg-config/pkg-config pkg-config-openbsd newman usr.bin/pkg-config/pkg-config.1 pkg-config-openbsd.1 |