depending on install-all here results in install being called without setting PREFIX to the fake-dir. we already call install-all from port building anyway. Index: Makefile --- Makefile.orig +++ Makefile @@ -60,7 +60,7 @@ check-style: .PHONY: reindent check-style # depend on install-all so that downgrade scripts are installed as well -check: all install-all +check: all $(MAKE) -C src/test/regress check-full .PHONY: all check clean install install-downgrades install-all