summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-03-27 03:14:55 +0000
committerMike Frysinger <vapier@gentoo.org>2011-03-27 03:14:55 +0000
commitce88b8599bb94026e44fdd05c4bdc3c31add7ffe (patch)
tree422f1ae3dd451acf89440113de2ffb548aa27965 /dev-util/w32api
parentFixes bugs 360031, 360029 and 359991. Removed --disable-threadsafety as scara... (diff)
downloadgentoo-2-ce88b8599bb94026e44fdd05c4bdc3c31add7ffe.tar.gz
gentoo-2-ce88b8599bb94026e44fdd05c4bdc3c31add7ffe.tar.bz2
gentoo-2-ce88b8599bb94026e44fdd05c4bdc3c31add7ffe.zip
tweak syntax for older bash versions
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/w32api')
-rw-r--r--dev-util/w32api/w32api-3.17.2.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-util/w32api/w32api-3.17.2.ebuild b/dev-util/w32api/w32api-3.17.2.ebuild
index 1b920df88c39..621e363c9af0 100644
--- a/dev-util/w32api/w32api-3.17.2.ebuild
+++ b/dev-util/w32api/w32api-3.17.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/w32api-3.17.2.ebuild,v 1.1 2011/03/26 05:48:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/w32api-3.17.2.ebuild,v 1.2 2011/03/27 03:14:55 vapier Exp $
export CBUILD=${CBUILD:-${CHOST}}
export CTARGET=${CTARGET:-${CHOST}}
@@ -12,7 +12,7 @@ fi
inherit eutils flag-o-matic
-MY_P="${P:0:-2}-${PV:0-1}-mingw32"
+MY_P="${P:0:${#P}-2}-${PV:0-1}-mingw32"
DESCRIPTION="Free Win32 runtime and import library definitions"
HOMEPAGE="http://www.mingw.org/"
SRC_URI="mirror://sourceforge/mingw/${MY_P}-src.tar.lzma"