CURDIR-relative paths in ports' Makefiles

Koslov Sergey kozlov.sergey.404 at gmail.com
Tue Aug 27 12:05:02 UTC 2013


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


More information about the freebsd-questions mailing list