Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2001 09:11:10 +0200 (CEST)
From:      Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
To:        <freebsd-ports@freebsd.org>
Subject:   Port build machinery, ${.CURDIR}, and AMD
Message-ID:  <Pine.BSF.4.33.0106140851020.64731-100000@deneb.dbai.tuwien.ac.at>

next in thread | raw e-mail | index | archive | help
The Makefiles of the the port build machinery use ${.CURDIR} when
deriving the pathname used for temporary files.

This is fine, but causes undesired effects on systems where the port
sources reside on a server mounted by AMD:

  /sw/FreeBSD/ports (logical path) then becomes
  /.amd_mnt/spica/work/pfeifer/FreeBSD/ports (physical path) and

the build stuff is put into

  $WRKDIRPREFIX/.amd_mnt/spica/work/pfeifer/FreeBSD/ports

which I consider rather bad from a user's point of view (especially
given the directory name starting with a leading dot).

In a shell script I'd just use `pawd' instead of `pwd', but is there
something equivalent for ${.CURDIR}? Other possible fixes?

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0106140851020.64731-100000>