If contrib and/or download in libports are symlinks, then using ".." ends up in the wrong directory. Use CURDIR variable set by make.
Fixes #221.