Date: Thu, 19 Apr 2001 06:36:15 -0500 From: Mike Meyer <mwm@mired.org> To: "Michael O'Henly" <michael@tenzo.com> Cc: questions@freebsd.org Subject: Re: Ports: making XEmacs the default flavour of emacs Message-ID: <15070.52655.839542.840506@guru.mired.org> In-Reply-To: <24855542@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Michael O'Henly <michael@tenzo.com> types:
> Recently, someone asked about ports that depend on XFree86-3.3.6. They
> apparently were using XFree86-4 and did not want 3.3.6 installed whenever
> they built an X-based port. The answer was to add a line to /etc/make.conf
> saying XFREE86_VERSION=4.
>
> That's a nice solution. Is there something comparable for emacs?
>
> I use XEmacs and don't especially want to install emacs when I build an
> emacs-related port. For example, /usr/ports/print/auctex tries to install
> emacs even though XEmacs is already on the machine.
>
> I've since read that this particular package (auctex) is actually part of the
> XEmacs install, so perhaps it's a bad example. In general, though, can I
> defeat the install of emacs in some global way?
In looking at that port, it checks to see if ${LOCALBASE/bin/xemacs}
exists, and uses xemacs if it does; otherwise it uses emacs. I don't
have the xemacs port installed, but it looks like that doesn't create
bin/xemacs, but instead creates bin/xemacs-%%EMACS_VER%%. You might
try creating bin/xemacs as a link to your favorite version, and seeing
if that works.
Second choice would be to set EMACS_NAME=xemacs in
/etc/make.conf. That should work for the auctext port, but might not
for others even if creating bin/xemacs would.
<mike
--
Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15070.52655.839542.840506>
