aboutsummaryrefslogtreecommitdiff
path: root/Mk/Uses/pgsql.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/Uses/pgsql.mk')
-rw-r--r--Mk/Uses/pgsql.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/Uses/pgsql.mk b/Mk/Uses/pgsql.mk
index 21e0c0b80020..8fbf53463483 100644
--- a/Mk/Uses/pgsql.mk
+++ b/Mk/Uses/pgsql.mk
@@ -129,7 +129,7 @@ IGNORE?= cannot install: does not work with postgresql${PGSQL_VER_NODOT}-client
. endif # IGNORE_WITH_PGSQL
.if !defined(WANT_PGSQL) || ${WANT_PGSQL} == lib
-LIB_DEPENDS+= libpq.so.${PGSQL${PGSQL_VER_NODOT}_LIBVER}:${PORTSDIR}/databases/postgresql${PGSQL_VER_NODOT}-client
+LIB_DEPENDS+= libpq.so.${PGSQL${PGSQL_VER_NODOT}_LIBVER}:databases/postgresql${PGSQL_VER_NODOT}-client
.endif
_USE_PGSQL_DEP= client contrib docs pgtcl pltcl plperl server
@@ -143,10 +143,10 @@ _USE_PGSQL_DEP_server= postgres
. if defined(WANT_PGSQL)
. for depend in ${_USE_PGSQL_DEP}
. if ${WANT_PGSQL:M${depend}}
-BUILD_DEPENDS+= ${_USE_PGSQL_DEP_${depend}}:${PORTSDIR}/databases/postgresql${PGSQL_VER_NODOT}-${depend}
-RUN_DEPENDS+= ${_USE_PGSQL_DEP_${depend}}:${PORTSDIR}/databases/postgresql${PGSQL_VER_NODOT}-${depend}
+BUILD_DEPENDS+= ${_USE_PGSQL_DEP_${depend}}:databases/postgresql${PGSQL_VER_NODOT}-${depend}
+RUN_DEPENDS+= ${_USE_PGSQL_DEP_${depend}}:databases/postgresql${PGSQL_VER_NODOT}-${depend}
. elif ${WANT_PGSQL:M${depend}\:*}
-BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/databases/postgresql${PGSQL_VER_NODOT}-${depend}:${WANT_PGSQL:M${depend}\:*:C,^[^:]*\:,,}
+BUILD_DEPENDS+= ${NONEXISTENT}:databases/postgresql${PGSQL_VER_NODOT}-${depend}:${WANT_PGSQL:M${depend}\:*:C,^[^:]*\:,,}
. endif
. endfor
. endif