Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 184196

Summary: sys-devel/autoconf-2.61 has broken Emacs support
Product: Gentoo Linux Reporter: Ulrich Müller <ulm>
Component: [OLD] Core systemAssignee: Emacs project <emacs>
Status: RESOLVED FIXED    
Severity: normal CC: base-system
Priority: High    
Version: 2006.1   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 184219    
Bug Blocks: 184166    
Attachments: Diff for autoconf-2.61.ebuild for solution 2.)
files/50autoconf-gentoo.el site-file for solution 2.)
Diff for autoconf-2.61.ebuild for solution 1.)

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.