View | Details | Raw Unified | Return to bug 159843
Collapse All | Expand All

(-)databases/postgresql-plpython/Makefile (-5 / +3 lines)
Lines 6-20 Link Here
6
#
6
#
7
7
8
PORTNAME=	postgresql
8
PORTNAME=	postgresql
9
PORTREVISION=	1
9
PORTREVISION=	2
10
CATEGORIES=	databases python
10
CATEGORIES=	databases python
11
PKGNAMESUFFIX=	-plpython
11
PKGNAMESUFFIX=	-plpython
12
12
13
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
14
COMMENT=	A module for using Python to write SQL functions
14
COMMENT=	A module for using Python to write SQL functions
15
15
16
BROKEN=		Does not configure without threaded Python
17
18
RUN_DEPENDS=	postgres:${PORTSDIR}/${POSTGRESQL_PORT}
16
RUN_DEPENDS=	postgres:${PORTSDIR}/${POSTGRESQL_PORT}
19
17
20
MASTERDIR=	${.CURDIR}/../postgresql${PGSQL_VER}-server
18
MASTERDIR=	${.CURDIR}/../postgresql${PGSQL_VER}-server
Lines 28-36 Link Here
28
26
29
# Setting/finding PostgreSQL version we want.
27
# Setting/finding PostgreSQL version we want.
30
.if exists(${LOCALBASE}/bin/postmaster)
28
.if exists(${LOCALBASE}/bin/postmaster)
31
PGSQL_VER!=	${LOCALBASE}/bin/postmaster -V | ${SED} -n 's/.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
29
PGSQL_VER!=	${LOCALBASE}/bin/postmaster -V | ${SED} -n 's/.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\).*/\1\2/p'
32
.elif exists(${LOCALBASE}/bin/pg_config)
30
.elif exists(${LOCALBASE}/bin/pg_config)
33
PGSQL_VER!=	${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
31
PGSQL_VER!=	${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\).*/\1\2/p'
34
.else
32
.else
35
PGSQL_VER=	${DEFAULT_PGSQL_VER}
33
PGSQL_VER=	${DEFAULT_PGSQL_VER}
36
.endif
34
.endif
(-)databases/postgresql84-server/files/patch-configure (+11 lines)
Line 0 Link Here
1
--- configure.orig	2011-04-15 07:17:14.000000000 +0400
2
+++ configure	2011-08-16 00:29:51.000000000 +0400
3
@@ -6931,7 +6931,7 @@
4
   { echo "$as_me:$LINENO: result: yes" >&5
5
 echo "${ECHO_T}yes" >&6; }
6
   case $host_os in
7
-  openbsd*|freebsd*)
8
+  openbsd*)
9
     { { echo "$as_me:$LINENO: error: threaded Python not supported on this platform" >&5
10
 echo "$as_me: error: threaded Python not supported on this platform" >&2;}
11
    { (exit 1); exit 1; }; }
(-)databases/postgresql90-server/files/patch-configure (+11 lines)
Line 0 Link Here
1
--- configure.orig	2011-04-15 07:15:53.000000000 +0400
2
+++ configure	2011-08-16 11:10:22.000000000 +0400
3
@@ -7051,7 +7051,7 @@
4
   { $as_echo "$as_me:$LINENO: result: yes" >&5
5
 $as_echo "yes" >&6; }
6
   case $host_os in
7
-  openbsd*|freebsd*)
8
+  openbsd*)
9
     { { $as_echo "$as_me:$LINENO: error: threaded Python not supported on this platform" >&5
10
 $as_echo "$as_me: error: threaded Python not supported on this platform" >&2;}
11
    { (exit 1); exit 1; }; }
(-)databases/postgresql90-server/pkg-plist-plpython (+1 lines)
Lines 1-4 Link Here
1
%%DOCSDIR%%/README-plpython
1
%%DOCSDIR%%/README-plpython
2
lib/postgresql/plpython.so
2
lib/postgresql/plpython.so
3
lib/postgresql/plpython2.so
3
@dirrmtry lib/postgresql
4
@dirrmtry lib/postgresql
4
@dirrmtry %%DOCSDIR%%
5
@dirrmtry %%DOCSDIR%%
(-)databases/postgresql91-server/files/patch-configure (+11 lines)
Line 0 Link Here
1
--- configure.orig	2011-07-08 04:12:33.000000000 +0400
2
+++ configure	2011-08-16 00:57:34.000000000 +0400
3
@@ -7283,7 +7283,7 @@
4
   { $as_echo "$as_me:$LINENO: result: yes" >&5
5
 $as_echo "yes" >&6; }
6
   case $host_os in
7
-  openbsd*|freebsd*)
8
+  openbsd*)
9
     { { $as_echo "$as_me:$LINENO: error: threaded Python not supported on this platform" >&5
10
 $as_echo "$as_me: error: threaded Python not supported on this platform" >&2;}
11
    { (exit 1); exit 1; }; }
(-)databases/postgresql91-server/pkg-plist-plpython (-1 / +11 lines)
Lines 1-4 Link Here
1
%%DOCSDIR%%/README-plpython
1
%%DOCSDIR%%/README-plpython
2
lib/postgresql/plpython.so
2
lib/postgresql/plpython2.so
3
share/postgresql/extension/plpythonu.control
4
share/postgresql/extension/plpythonu--1.0.sql
5
share/postgresql/extension/plpythonu--unpackaged--1.0.sql
6
share/postgresql/extension/plpython2u.control
7
share/postgresql/extension/plpython2u--1.0.sql
8
share/postgresql/extension/plpython2u--unpackaged--1.0.sql
9
share/postgresql/extension/plpython3u.control
10
share/postgresql/extension/plpython3u--1.0.sql
11
share/postgresql/extension/plpython3u--unpackaged--1.0.sql
12
@dirrmtry share/postgresql/extension
3
@dirrmtry lib/postgresql
13
@dirrmtry lib/postgresql
4
@dirrmtry %%DOCSDIR%%
14
@dirrmtry %%DOCSDIR%%

Return to bug 159843