Subject: pkg/28623: Cannot make editor/leim on Mac OS X
To: None <firstname.lastname@example.org, email@example.com,>
From: None <firstname.lastname@example.org>
Date: 12/12/2004 08:09:00
>Synopsis: Cannot make editor/leim on Mac OS X
>Arrival-Date: Sun Dec 12 08:09:00 +0000 2004
>Originator: Noritoshi Demizu
>Release: Mac OS X 10.3.6
Darwin xxx 7.6.0 Darwin Kernel Version 7.6.0: Sun Oct 10 12:05:27 PDT 2004; root:xnu/xnu-517.9.4.obj~1/RELEASE_PPC Power Macintosh powerpc
When I tried to make editor/leim on Mac OS X, I got the folllowing message.
===> Extracting for leim-21.3
===> Required installed package emacs>=21.2: emacs-21.3nb5 found
===> Patching for leim-21.3
===> Applying pkgsrc patches for leim-21.3
===> Overriding tools for leim-21.3
===> Creating toolchain wrappers for leim-21.3
===> Configuring for leim-21.3
creating cache ./config.cache
checking host system type... powerpc-apple-darwin
configure: error: Emacs hasn't been ported to `powerpc-apple-darwin' systems.
Check `etc/MACHINES' for recognized configuration names.
*** Error code 1
I guess the cause is that the paches for emacs-21 stored under
editor/emacs/patches are not applied to editor/leim/work/emacs-21.3
before configuring editor/leim.
Here is my workaround: After I got the error message above, I applied
the patches manually, as follows.
$ cd leim/work/emacs-21.3
$ cat ../../../emacs/patches/patch-* | patch -p0
Then, run bmake under editor/leim. Now, leim can be compiled successfully.
But it would be nice if the patches were automatically applied.
I am sorry I do not know how to achieve it.
on Mac OS X 10.3.6,
$ cd editor/leim