From owner-cvs-all Thu Jan 6 7:35:45 2000 Delivered-To: cvs-all@freebsd.org Received: from mail-blue.research.att.com (mail-blue.research.att.com [135.207.30.102]) by hub.freebsd.org (Postfix) with ESMTP id 9810514BEF; Thu, 6 Jan 2000 07:35:38 -0800 (PST) (envelope-from fenner@research.att.com) Received: from alliance.research.att.com (alliance.research.att.com [135.207.26.26]) by mail-blue.research.att.com (Postfix) with ESMTP id 0FB7D4CE13; Thu, 6 Jan 2000 10:35:31 -0500 (EST) Received: from windsor.research.att.com (windsor.research.att.com [135.207.26.46]) by alliance.research.att.com (8.8.7/8.8.7) with ESMTP id KAA18106; Thu, 6 Jan 2000 10:35:30 -0500 (EST) From: Bill Fenner Received: (from fenner@localhost) by windsor.research.att.com (8.8.8+Sun/8.8.5) id HAA24841; Thu, 6 Jan 2000 07:35:29 -0800 (PST) Message-Id: <200001061535.HAA24841@windsor.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: shige@freebsd.org Subject: Re: cvs commit: ports/editors/xemacs21-mule-common Makefile ports/editors/xemacs21-mule-common/files DESCR.tmpl INSTALL.tmpl ports/editors/xemacs21-mule-common/pkg INSTALL COMMENT DESCR PLIST ports/editors/xemacs21-mule Makefile ports/editors/xemacs21-mule/files DESCR.tmpl ports/editors/xemacs21-mule/pkg ... Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org Date: Thu, 6 Jan 2000 07:35:29 -0800 Versions: dmail (solaris) 2.2g/makemail 2.9a Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk >+XEMACS_MAJOR_VER?= ${.CURDIR:S!^${PORTSDIR}/editors/xemacs!!:S!-mule$!!} This doesn't work if there are symlinks or automounts in the path of ${PORTSDIR}. My PORTSDIR on freefall is /home/fenner/portsurvey/ports , but ${.CURDIR} when I'm in there is /d/users/fenner/portsurvey/ports. This construct fixes that problem, although I'm not sure I like it. REAL_PORTSDIR!= cd ${PORTSDIR}; pwd XEMACS_MAJOR_VER?= ${.CURDIR:S!^${REAL_PORTSDIR}/editors/xemacs!!:S!-mule$! !} Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message