CURDIR-relative paths in ports' Makefiles

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


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