Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351447 - lucene-2.1.0-r1.ebuild has hard coded non-prefix /usr/share/javacc/lib
Summary: lucene-2.1.0-r1.ebuild has hard coded non-prefix /usr/share/javacc/lib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-12 16:17 UTC by chadernook
Modified: 2011-01-31 21:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chadernook 2011-01-12 16:17:40 UTC
src_compile() {
        # regenerate javacc files just because we can
        # put javacc.jar on ant's classpath here even when <javacc> task
        # doesn't use it - it's to fool the <available> test, first time
        # it's useful not to have ignoresystemclasses=true...
        ANT_TASKS="ant-nodeps javacc" eant \
                -Djavacc.home=/usr/share/javacc/lib javacc
        ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs)
}

-Djavacc.home should have a prefix path - when I hardcoded this path with my prefix it appeared to merge normally.


Reproducible: Always

Steps to Reproduce:
1. emerge =dev-java/lucene-2.1.0-r1 using prefix
2.
3.

Actual Results:  
fail with a JavaCC message

Expected Results:  
successful merge
Comment 1 Fabian Groffen gentoo-dev 2011-01-16 15:26:56 UTC
any reason you're using 2.1.0 and not 2.3.2?
Comment 2 Fabian Groffen gentoo-dev 2011-01-31 21:18:42 UTC
ok, I fixed all slots now, thanks for the report