Lines 14-26
Link Here
|
14 |
LICENSE="BSD LGPL-2" |
14 |
LICENSE="BSD LGPL-2" |
15 |
SLOT="0" |
15 |
SLOT="0" |
16 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
16 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
17 |
IUSE="debug gengc precisegc threads +unicode X" |
17 |
IUSE="debug emacs gengc precisegc threads +unicode X" |
18 |
|
18 |
|
19 |
RDEPEND="dev-libs/gmp |
19 |
RDEPEND="dev-libs/gmp |
20 |
virtual/libffi |
20 |
virtual/libffi |
21 |
>=dev-libs/boehm-gc-7.1[threads?]" |
21 |
>=dev-libs/boehm-gc-7.1[threads?]" |
22 |
DEPEND="${RDEPEND} |
22 |
DEPEND="${RDEPEND} |
23 |
app-text/texi2html" |
23 |
app-text/texi2html |
|
|
24 |
emacs? ( virtual/emacs >=app-admin/eselect-emacs-1.12 )" |
24 |
PDEPEND="dev-lisp/gentoo-init" |
25 |
PDEPEND="dev-lisp/gentoo-init" |
25 |
|
26 |
|
26 |
S="${WORKDIR}"/${MY_P} |
27 |
S="${WORKDIR}"/${MY_P} |
Lines 55-60
Link Here
|
55 |
} |
56 |
} |
56 |
|
57 |
|
57 |
src_compile() { |
58 |
src_compile() { |
|
|
59 |
if use emacs; then |
60 |
local ETAGS=$(eselect --brief etags list | sed -ne '/emacs/{p;q}') |
61 |
[[ -n ${ETAGS} ]] || die "No etags implementation found" |
62 |
pushd build || die |
63 |
emake ETAGS=${ETAGS} TAGS || die |
64 |
popd |
65 |
else |
66 |
touch build/TAGS |
67 |
fi |
68 |
|
58 |
#parallel fails |
69 |
#parallel fails |
59 |
emake -j1 || die "Compilation failed" |
70 |
emake -j1 || die "Compilation failed" |
60 |
} |
71 |
} |