Subject: pkg/30462: emacs-nox11 does not build under darwin (patch)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <reilles@loria.fr>
List: pkgsrc-bugs
Date: 06/08/2005 08:40:00
>Number:         30462
>Category:       pkg
>Synopsis:       emacs-nox11 does not build under darwin (patch)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 08 08:40:00 +0000 2005
>Originator:     Antoine Reilles
>Release:        
>Organization:
loria
>Environment:
Darwin bonzai.loria.fr 8.1.0 Darwin Kernel Version 8.1.0: Tue May 10 18:16:08 PDT 2005; root:xnu-792.1.5.obj~4/RELEASE_PPC Power Macintosh powerpc

>Description:
emacs-nox11 is not in sync with editor/emacs, and won't build under darwin, while editors/emacs builds fine.

I just copy/pasted the necessary things from editors/emacs/Makefile in editors/emacs-nox11/Makefile, and everything builds fine under darwin.

My patch is very trivial, and is probably not the best way to deal with this sync problem.
Should editors/emacs and editors/emacs-nox11 share the same Makefile.common, to ease the maintenance task, by putting in the different Makefile only the option/dependancy handling stuff ?
If this idea is OKed, i will be happy to work a little on this, and provide another, better patch

regards,
antoine
>How-To-Repeat:
under darwin, just try to build editors/emacs-nox11
The build complains about missing darwin.h and other files, which are included un editors/emacs/files
>Fix: