diff options
author | crees <crees@FreeBSD.org> | 2012-03-10 18:57:08 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2012-03-10 18:57:08 +0800 |
commit | e00ddf088291ef25b8b83760d0be900619c1016d (patch) | |
tree | fe4e5a8455c9e4cd5d59dcfc3fc07870d6c5b2cd /Mk | |
parent | baf618f17a24117f70e18b91125ae32312d6aece (diff) | |
download | freebsd-ports-graphics-e00ddf088291ef25b8b83760d0be900619c1016d.tar.gz freebsd-ports-graphics-e00ddf088291ef25b8b83760d0be900619c1016d.tar.zst freebsd-ports-graphics-e00ddf088291ef25b8b83760d0be900619c1016d.zip |
Add support for USE_PGSQL= pltcl
Feature safe: yes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.database.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Mk/bsd.database.mk b/Mk/bsd.database.mk index cea0a763b9a..a3a2cd9eb2c 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 |