aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.database.mk
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-03-10 10:57:08 +0000
committerChris Rees <crees@FreeBSD.org>2012-03-10 10:57:08 +0000
commit61dc6dc546bc239d305423b042ab5c9ebbef71a7 (patch)
tree0f10fde2a547582a9414fc5729fcdd420a188956 /Mk/bsd.database.mk
parent553f2f8dbc9dfbea0472ea1d22737e612bcd8a2f (diff)
downloadports-61dc6dc546bc239d305423b042ab5c9ebbef71a7.tar.gz
ports-61dc6dc546bc239d305423b042ab5c9ebbef71a7.zip
Notes
Diffstat (limited to 'Mk/bsd.database.mk')
-rw-r--r--Mk/bsd.database.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/Mk/bsd.database.mk b/Mk/bsd.database.mk
index cea0a763b9a6..a3a2cd9eb2c9 100644
--- a/Mk/bsd.database.mk
+++ b/Mk/bsd.database.mk
@@ -35,8 +35,8 @@ Database_Include_MAINTAINER= ports@FreeBSD.org
# MYSQL_VER
# - Detected MySQL version.
##
-# USE_PGSQL - Add PostgreSQL client dependency. Server can be depended on
-# using USE_PGSQL=server.
+# USE_PGSQL - Add PostgreSQL client dependency. Components can be depended
+# on using USE_PGSQL= server pltcl
# If no version is given (by the maintainer via the port or
# by the user via defined variable), try to find the
# currently installed version. Fall back to default if
@@ -251,6 +251,9 @@ LIB_DEPENDS+= pq.${PGSQL${PGSQL_VER}_LIBVER}:${PORTSDIR}/databases/postgresql${P
BUILD_DEPENDS+= postgres:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
RUN_DEPENDS+= postgres:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
. endif
+. if ${USE_PGSQL:Mpltcl}
+LIB_DEPENDS+= pgtcl:${PORTSDIR}/databases/postgresql${PGSQL_VER}-pltcl
+. endif
.else
IGNORE?= cannot install: unknown PostgreSQL version: ${PGSQL_VER}
.endif # Check for correct version