aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql91-server
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-02 20:07:40 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-02 20:07:40 +0000
commit9927ba32ddf9267da86844d1f34aebeeabbb5fb1 (patch)
treed48b403968696318f41a6d54c6bfc863c487afb2 /databases/postgresql91-server
parentb8d6f50e6c82e0748a3ae53a1e6a89b76bd0c781 (diff)
downloadports-9927ba32ddf9267da86844d1f34aebeeabbb5fb1.tar.gz
ports-9927ba32ddf9267da86844d1f34aebeeabbb5fb1.zip
- Unbreak postgresql-plpython: allow build with threaded python
- Pass maintainership to submitter PR: ports/159843 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Notes
Notes: svn path=/head/; revision=282829
Diffstat (limited to 'databases/postgresql91-server')
-rw-r--r--databases/postgresql91-server/files/patch-configure11
-rw-r--r--databases/postgresql91-server/pkg-plist-plpython12
2 files changed, 22 insertions, 1 deletions
diff --git a/databases/postgresql91-server/files/patch-configure b/databases/postgresql91-server/files/patch-configure
new file mode 100644
index 000000000000..10cb1a3fed3f
--- /dev/null
+++ b/databases/postgresql91-server/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2011-07-08 08:12:33.000000000 +0800
++++ configure 2011-09-12 15:47:13.056511624 +0800
+@@ -7283,7 +7283,7 @@
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
+ $as_echo "yes" >&6; }
+ case $host_os in
+- openbsd*|freebsd*)
++ openbsd*)
+ { { $as_echo "$as_me:$LINENO: error: threaded Python not supported on this platform" >&5
+ $as_echo "$as_me: error: threaded Python not supported on this platform" >&2;}
+ { (exit 1); exit 1; }; }
diff --git a/databases/postgresql91-server/pkg-plist-plpython b/databases/postgresql91-server/pkg-plist-plpython
index d3c29953b6b5..cfc34f4b56b9 100644
--- a/databases/postgresql91-server/pkg-plist-plpython
+++ b/databases/postgresql91-server/pkg-plist-plpython
@@ -1,4 +1,14 @@
%%DOCSDIR%%/README-plpython
-lib/postgresql/plpython.so
+lib/postgresql/plpython2.so
+%%DATADIR%%/extension/plpythonu.control
+%%DATADIR%%/extension/plpythonu--1.0.sql
+%%DATADIR%%/extension/plpythonu--unpackaged--1.0.sql
+%%DATADIR%%/extension/plpython2u.control
+%%DATADIR%%/extension/plpython2u--1.0.sql
+%%DATADIR%%/extension/plpython2u--unpackaged--1.0.sql
+%%DATADIR%%/extension/plpython3u.control
+%%DATADIR%%/extension/plpython3u--1.0.sql
+%%DATADIR%%/extension/plpython3u--unpackaged--1.0.sql
+@dirrmtry %%DATADIR%%/extension
@dirrmtry lib/postgresql
@dirrmtry %%DOCSDIR%%