diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-08-07 20:43:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-08-07 20:43:35 +0000 |
commit | d5dc87042b1f2c852ed164c968de4d421dad16ad (patch) | |
tree | 842ad88692f33c8b8057cba02440bbb0566ea262 /sys-devel/autoconf-wrapper/autoconf-wrapper-9-r1.ebuild | |
parent | old (diff) | |
download | gentoo-2-d5dc87042b1f2c852ed164c968de4d421dad16ad.tar.gz gentoo-2-d5dc87042b1f2c852ed164c968de4d421dad16ad.tar.bz2 gentoo-2-d5dc87042b1f2c852ed164c968de4d421dad16ad.zip |
Remove duplication between ebuild/wrapper.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel/autoconf-wrapper/autoconf-wrapper-9-r1.ebuild')
-rw-r--r-- | sys-devel/autoconf-wrapper/autoconf-wrapper-9-r1.ebuild | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/sys-devel/autoconf-wrapper/autoconf-wrapper-9-r1.ebuild b/sys-devel/autoconf-wrapper/autoconf-wrapper-9-r1.ebuild index 07ceefa85f9c..2287bb8ed01f 100644 --- a/sys-devel/autoconf-wrapper/autoconf-wrapper-9-r1.ebuild +++ b/sys-devel/autoconf-wrapper/autoconf-wrapper-9-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf-wrapper/autoconf-wrapper-9-r1.ebuild,v 1.1 2010/08/06 23:05:43 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf-wrapper/autoconf-wrapper-9-r1.ebuild,v 1.2 2010/08/07 20:43:35 vapier Exp $ inherit multilib @@ -15,18 +15,9 @@ IUSE="" S=${WORKDIR} -SUPPORTED_AC_VERSIONS="2.67:2.5 2.66:2.5 2.65:2.5 2.64:2.5 2.63:2.5 2.62:2.5 2.61:2.5 2.60:2.5 2.59:2.5 2.13:2.1" - -src_compile() { - sed -e "/vers=/s|\".*\"|\"${SUPPORTED_AC_VERSIONS}\"|" \ - "${FILESDIR}"/ac-wrapper-${PV}.sh \ - > "${T}"/ac-wrapper.sh \ - || die "ac-wrapper sed failed" -} - src_install() { exeinto /usr/$(get_libdir)/misc - doexe "${T}"/ac-wrapper.sh || die + newexe "${FILESDIR}"/ac-wrapper-${PV}.sh ac-wrapper.sh || die dodir /usr/bin local x= |