CURDIR-relative paths in ports' Makefiles

2013-08-27 Thread Koslov Sergey
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

Re: CURDIR-relative paths in ports' Makefiles

2013-08-27 Thread Matthew Seaman
On 27/08/2013 13:04, Koslov Sergey wrote: 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