diff --git a/databases/postgis/Makefile b/databases/postgis/Makefile index 2deeff51c0d4..ed5a76f82dfc 100644 --- a/databases/postgis/Makefile +++ b/databases/postgis/Makefile @@ -23,9 +23,9 @@ USE_GMAKE= yes USE_PERL5_BUILD= yes MAKE_ARGS= PGSQL_SRC=${PGSQL_SRC} -PGSQL_PORTDIR= ${PORTSDIR}/databases/postgresql7 +PGSQL_PORTDIR= ${WRKDIR}/../../../databases/postgresql7 WRKSRC= ${WRKDIR}/postgis-${PORTVERSION} -PGSQL_SRC= ${WRKDIRPREFIX}${PGSQL_PORTDIR}/work/postgresql-7.4.3 +PGSQL_SRC= ${PGSQL_PORTDIR}/work/postgresql-7.4.3 INSTALL_TARGET= install .if defined(WITH_GEOS)