1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Add support for USE_PGSQL= pltcl

Feature safe:	yes
This commit is contained in:
Chris Rees 2012-03-10 10:57:08 +00:00
parent 553f2f8dbc
commit 61dc6dc546
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293045

View File

@ -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