Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2013 15:04:55 +0300
From:      Koslov Sergey <kozlov.sergey.404@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   CURDIR-relative paths in ports' Makefiles
Message-ID:  <521C95E7.8000104@gmail.com>

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

I've noticed that many ports are using ${.CURDIR}/../../some/port 
construction in their Makefiles.

But if you copy on of these ports elsewhere it won't work as expected 
because of the relative path.
Shouldn't they use ${PORTSDIR}/some/port instead?

Thanks for the replies.

Kozlov Sergey



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