mkdir: /tmp/pkgbuild/devel/zlib: Permission denied
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/zlib