Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 394365 | Differences between
and this patch

Collapse All | Expand All

(-)a/app-emacs/jde/jde-2.4.0.1.ebuild (-3 / +7 lines)
Lines 20-26 IUSE="" Link Here
20
20
21
DEPEND=">=virtual/jdk-1.3
21
DEPEND=">=virtual/jdk-1.3
22
	app-emacs/elib
22
	app-emacs/elib
23
	>=app-emacs/cedet-1.0_beta3
23
	virtual/emacs-cedet
24
	dev-java/bsh
24
	dev-java/bsh
25
	dev-java/junit:0
25
	dev-java/junit:0
26
	dev-util/checkstyle"
26
	dev-util/checkstyle"
Lines 46-53 src_prepare() { Link Here
46
}
46
}
47
47
48
src_compile() {
48
src_compile() {
49
	local cedet
50
	cedet=$(${EMACS} ${EMACSFLAGS} --eval '(princ (locate-library "cedet"))')
51
    	cedet=${cedet%/*}            # get directory part
52
	[[ -n ${cedet} && -d ${cedet} ]] || die "CEDET not found"
53
49
	eant bindist \
54
	eant bindist \
50
		-Dcedet.dir="${EPREFIX}${SITELISP}/cedet" \
55
		-Dcedet.dir="${cedet}" \
51
		-Delib.dir="${EPREFIX}${SITELISP}/elib"
56
		-Delib.dir="${EPREFIX}${SITELISP}/elib"
52
57
53
	use doc && eant source-doc
58
	use doc && eant source-doc
54
- 

Return to bug 394365