Bug 184196 - sys-devel/autoconf-2.61 has broken Emacs support
Bug#: 184196 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: emacs@gentoo.org Reported By: ulm@gentoo.org
Component: Core system
URL: 
Summary: sys-devel/autoconf-2.61 has broken Emacs support
Keywords:  
Status Whiteboard: 
Opened: 2007-07-04 15:14 0000
Description:   Opened: 2007-07-04 15:14 0000
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 From Ulrich Müller 2007-07-04 15:17:33 0000 -------
Created an attachment (id=123879) [details]
Diff for autoconf-2.61.ebuild for solution 2.)

------- Comment #2 From Ulrich Müller 2007-07-04 15:22:47 0000 -------
Created an attachment (id=123880) [details]
files/50autoconf-gentoo.el site-file for solution 2.)

------- Comment #3 From Ulrich Müller 2007-07-04 15:26:42 0000 -------
Created an attachment (id=123882) [details]
Diff for autoconf-2.61.ebuild for solution 1.)

------- Comment #4 From SpanKY 2007-07-04 18:14:54 0000 -------
you can go ahead and split it off and commit the new ebuilds for me if you like

------- Comment #5 From Ulrich Müller 2007-07-04 19:33:05 0000 -------
(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.