Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2000 07:35:29 -0800
From:      Bill Fenner <fenner@research.att.com>
To:        shige@freebsd.org
Cc:        cvs-committers@freebsd.org, cvs-all@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 ...
Message-ID:  <200001061535.HAA24841@windsor.research.att.com>

next in thread | raw e-mail | index | archive | help

>+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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001061535.HAA24841>