aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorglarkin <glarkin@FreeBSD.org>2011-10-26 23:09:26 +0800
committerglarkin <glarkin@FreeBSD.org>2011-10-26 23:09:26 +0800
commit2ad24b8ad9590eb93c89f1f3828f0605e5a3107c (patch)
tree61879a567e27a1ed30eb1b34af4f8971d472fda6 /databases
parent5146c83edd71cb73ead07d793f0a4e42bd631554 (diff)
downloadfreebsd-ports-gnome-2ad24b8ad9590eb93c89f1f3828f0605e5a3107c.tar.gz
freebsd-ports-gnome-2ad24b8ad9590eb93c89f1f3828f0605e5a3107c.tar.zst
freebsd-ports-gnome-2ad24b8ad9590eb93c89f1f3828f0605e5a3107c.zip
- Fix plist when postgresql-plpython installed for postgresql 9.1 and
postgresql-plpython built with python 3+ PR: ports/161822 Submitted by: sunpoet Approved by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> (maintainer), girgen (maintainer implicit)
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql-plpython/Makefile3
-rw-r--r--databases/postgresql91-server/pkg-plist-plpython2
-rw-r--r--databases/postgresql92-server/pkg-plist-plpython2
3 files changed, 4 insertions, 3 deletions
diff --git a/databases/postgresql-plpython/Makefile b/databases/postgresql-plpython/Makefile
index 3e110251368b..047909f7a709 100644
--- a/databases/postgresql-plpython/Makefile
+++ b/databases/postgresql-plpython/Makefile
@@ -39,6 +39,7 @@ CONFIGURE_ARGS= --with-python
BUILD_DIRS= src/pl/plpython
SLAVE_ONLY= yes
-POSTGRESQL_PORT=databases/postgresql${PGSQL_VER}-server
+POSTGRESQL_PORT= databases/postgresql${PGSQL_VER}-server
+PLIST_SUB= PYTHON_MAJOR_VER=${PYTHON_VER:R}
.include "${MASTERDIR}/Makefile"
diff --git a/databases/postgresql91-server/pkg-plist-plpython b/databases/postgresql91-server/pkg-plist-plpython
index cfc34f4b56b9..17701ef04a0b 100644
--- a/databases/postgresql91-server/pkg-plist-plpython
+++ b/databases/postgresql91-server/pkg-plist-plpython
@@ -1,5 +1,5 @@
%%DOCSDIR%%/README-plpython
-lib/postgresql/plpython2.so
+lib/postgresql/plpython%%PYTHON_MAJOR_VER%%.so
%%DATADIR%%/extension/plpythonu.control
%%DATADIR%%/extension/plpythonu--1.0.sql
%%DATADIR%%/extension/plpythonu--unpackaged--1.0.sql
diff --git a/databases/postgresql92-server/pkg-plist-plpython b/databases/postgresql92-server/pkg-plist-plpython
index cfc34f4b56b9..17701ef04a0b 100644
--- a/databases/postgresql92-server/pkg-plist-plpython
+++ b/databases/postgresql92-server/pkg-plist-plpython
@@ -1,5 +1,5 @@
%%DOCSDIR%%/README-plpython
-lib/postgresql/plpython2.so
+lib/postgresql/plpython%%PYTHON_MAJOR_VER%%.so
%%DATADIR%%/extension/plpythonu.control
%%DATADIR%%/extension/plpythonu--1.0.sql
%%DATADIR%%/extension/plpythonu--unpackaged--1.0.sql