app-i18n/translate: fix broken ebuild
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
@@ -7,16 +7,17 @@ SRC_URI="https://www.freebsdcluster.org/~mich/software/${P}.tar.gz"
|
|||||||
|
|
||||||
LICENSE="BSD"
|
LICENSE="BSD"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
# In theory, should run wherever Perl runs
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
DEPEND="dev-perl/libwww"
|
DEPEND="dev-perl/libwww-perl"
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
${DEPEND}
|
${DEPEND}
|
||||||
>=dev-lang/perl-5.0
|
>=dev-lang/perl-5.0
|
||||||
"
|
"
|
||||||
|
|
||||||
src_prepare() {
|
S="${WORKDIR}/${PN}"
|
||||||
|
RESTRICT="mirror"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
einfo "Fixing shebang in ${S}/translate"
|
einfo "Fixing shebang in ${S}/translate"
|
||||||
sed -i -e "1s#/usr/local/bin/perl#${EPREFIX}/usr/bin/perl#" "${S}/translate" || die
|
sed -i -e "1s#/usr/local/bin/perl#${EPREFIX}/usr/bin/perl#" "${S}/translate" || die
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user