Summary: | dev-java/asm-2.0-r1 : add prefix support | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Myk Taylor <myk002> |
Component: | Prefix Support | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | prefix |
Priority: | Normal | Keywords: | Inclusion, InVCS, PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | OS X | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 315803 | ||
Attachments: |
patched ebuild
eapi=3 patched ebuild patch for asm-2.0-r1.ebuild |
Description
Myk Taylor
2012-09-18 17:11:53 UTC
Created attachment 324224 [details, diff]
patched ebuild
Comment on attachment 324224 [details, diff]
patched ebuild
Ebuild needs to be bumped to EAPI>=3.
Created attachment 324472 [details]
eapi=3 patched ebuild
diff applied:
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/asm/asm-2.0-r1.ebuild,v 1.12 2012/04/15 18:11:31 vapier Exp $
+EAPI="3"
+
inherit java-pkg-2 java-ant-2
DESCRIPTION="Bytecode manipulation framework for Java"
@@ -21,7 +23,10 @@
src_unpack() {
unpack ${A}
cd ${S}
- echo "objectweb.ant.tasks.path /usr/share/ant-owanttask/lib/ow_util_ant_tasks.jar" \
+}
+
+src_prepare() {
+ echo "objectweb.ant.tasks.path ${EPREFIX}/usr/share/ant-owanttask/lib/ow_util_ant_tasks.jar" \
>> build.properties
}
Created attachment 324518 [details, diff]
patch for asm-2.0-r1.ebuild
Changes:
- EAPI bumped
- src_unpack -> src_prepare
Tested on my ~x86-linux. Reassigned to maintainer for inclusion in gx86. Change added by me. |