Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184196 - sys-devel/autoconf-2.61 has broken Emacs support
Summary: sys-devel/autoconf-2.61 has broken Emacs support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on: 184219
Blocks: 184166
  Show dependency tree
 
Reported: 2007-07-04 15:14 UTC by Ulrich Müller
Modified: 2007-07-06 22:41 UTC (History)
1 user (show)

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


Attachments
Diff for autoconf-2.61.ebuild for solution 2.) (autoconf.patch,1.31 KB, patch)
2007-07-04 15:17 UTC, Ulrich Müller
Details | Diff
files/50autoconf-gentoo.el site-file for solution 2.) (50autoconf-gentoo.el,405 bytes, text/plain)
2007-07-04 15:22 UTC, Ulrich Müller
Details
Diff for autoconf-2.61.ebuild for solution 1.) (autoconf.patch,613 bytes, patch)
2007-07-04 15:26 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2007-07-04 15:14:28 UTC
autoconf-2.61 detects in its src_compile if an emacs executable exists in the system. If not, the package doesn't install Emacs support files, regardless of the emacs USE flag being set.

I see two alternative ways to fix this:

1.) Emacs support could be split off into a separate package
    (say, app-emacs/autoconf-mode) which would be included in PDEPEND if the
    emacs USE flag is set.

2.) One could disable Emacs in the build system, and install the elisp files
    "manually" in src_install. No dependency on Emacs will be needed.
    A small drawback of this solution would be that the autoconf-mode.el and
    autotest-mode.el will not be byte-compiled, but I think this is
    justifiable since both are very short files.
Comment 1 Ulrich Müller gentoo-dev 2007-07-04 15:17:33 UTC
Created attachment 123879 [details, diff]
Diff for autoconf-2.61.ebuild for solution 2.)
Comment 2 Ulrich Müller gentoo-dev 2007-07-04 15:22:47 UTC
Created attachment 123880 [details]
files/50autoconf-gentoo.el site-file for solution 2.)
Comment 3 Ulrich Müller gentoo-dev 2007-07-04 15:26:42 UTC
Created attachment 123882 [details, diff]
Diff for autoconf-2.61.ebuild for solution 1.)
Comment 4 SpanKY gentoo-dev 2007-07-04 18:14:54 UTC
you can go ahead and split it off and commit the new ebuilds for me if you like
Comment 5 Ulrich Müller gentoo-dev 2007-07-04 19:33:05 UTC
(In reply to comment #4)
> you can go ahead and split it off and commit the new ebuilds for me if you like

Ebuilds for sys-devel/autoconf-2.61-r1 and app-emacs/autoconf-mode-2.61 committed. See bug #184219 for keywording.