From owner-freebsd-questions Thu Apr 19 4:36:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id D6B9C37B424 for ; Thu, 19 Apr 2001 04:36:17 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 50461 invoked by uid 100); 19 Apr 2001 11:36:15 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15070.52655.839542.840506@guru.mired.org> Date: Thu, 19 Apr 2001 06:36:15 -0500 To: "Michael O'Henly" Cc: questions@freebsd.org Subject: Re: Ports: making XEmacs the default flavour of emacs In-Reply-To: <24855542@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Michael O'Henly 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. 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