mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Fix PLIST for python3
Submitted by: sunpoet (myself) Approved by: crees (pgsql)
This commit is contained in:
parent
62dd22fdbc
commit
32da06605f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331888
@ -14,15 +14,13 @@ MASTERDIR= ${.CURDIR}/../postgresql${WANT_PGSQL_VER}-server
|
||||
WANT_PGSQL_VER?= 90
|
||||
|
||||
USE_PYTHON?= yes
|
||||
PYTHON_MAJOR_VER= ${PYTHON_VER:R}
|
||||
CONFIGURE_ARGS= --with-python
|
||||
PLIST_SUB= PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER}
|
||||
COMPONENT= -plpython
|
||||
|
||||
.if ${PYTHON_MAJOR_VER} == 3
|
||||
PLIST_SUB+= PYTHON3=""
|
||||
.if defined(PYTHON_VER) && ${PYTHON_VER:R} == 3
|
||||
PLIST_SUB+= PYTHON2="@comment " PYTHON3=""
|
||||
.else
|
||||
PLIST_SUB+= PYTHON3="@comment "
|
||||
PLIST_SUB+= PYTHON2="" PYTHON3="@comment "
|
||||
.endif
|
||||
|
||||
BUILD_DIRS= src/backend src/pl/plpython
|
||||
|
@ -2,5 +2,4 @@
|
||||
|
||||
WANT_PGSQL_VER= 91
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../postgresql90-plpython/Makefile"
|
||||
|
@ -1,11 +1,12 @@
|
||||
%%DOCSDIR%%/README-plpython
|
||||
lib/postgresql/plpython%%PYTHON_MAJOR_VER%%.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
|
||||
%%PYTHON2%%lib/postgresql/plpython2.so
|
||||
%%PYTHON3%%lib/postgresql/plpython3.so
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpythonu.control
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpythonu--1.0.sql
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpythonu--unpackaged--1.0.sql
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpython2u.control
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpython2u--1.0.sql
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpython2u--unpackaged--1.0.sql
|
||||
%%PYTHON3%%%%DATADIR%%/extension/plpython3u.control
|
||||
%%PYTHON3%%%%DATADIR%%/extension/plpython3u--1.0.sql
|
||||
%%PYTHON3%%%%DATADIR%%/extension/plpython3u--unpackaged--1.0.sql
|
||||
|
@ -2,5 +2,4 @@
|
||||
|
||||
WANT_PGSQL_VER= 92
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../postgresql90-plpython/Makefile"
|
||||
|
@ -1,11 +1,12 @@
|
||||
%%DOCSDIR%%/README-plpython
|
||||
lib/postgresql/plpython%%PYTHON_MAJOR_VER%%.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
|
||||
%%PYTHON2%%lib/postgresql/plpython2.so
|
||||
%%PYTHON3%%lib/postgresql/plpython3.so
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpythonu.control
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpythonu--1.0.sql
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpythonu--unpackaged--1.0.sql
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpython2u.control
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpython2u--1.0.sql
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpython2u--unpackaged--1.0.sql
|
||||
%%PYTHON3%%%%DATADIR%%/extension/plpython3u.control
|
||||
%%PYTHON3%%%%DATADIR%%/extension/plpython3u--1.0.sql
|
||||
%%PYTHON3%%%%DATADIR%%/extension/plpython3u--unpackaged--1.0.sql
|
||||
|
@ -2,5 +2,4 @@
|
||||
|
||||
WANT_PGSQL_VER= 93
|
||||
|
||||
NO_STAGE= yes
|
||||
.include "${.CURDIR}/../postgresql90-plpython/Makefile"
|
||||
|
@ -1,11 +1,12 @@
|
||||
%%DOCSDIR%%/README-plpython
|
||||
lib/postgresql/plpython%%PYTHON_MAJOR_VER%%.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
|
||||
%%PYTHON2%%lib/postgresql/plpython2.so
|
||||
%%PYTHON3%%lib/postgresql/plpython3.so
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpythonu.control
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpythonu--1.0.sql
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpythonu--unpackaged--1.0.sql
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpython2u.control
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpython2u--1.0.sql
|
||||
%%PYTHON2%%%%DATADIR%%/extension/plpython2u--unpackaged--1.0.sql
|
||||
%%PYTHON3%%%%DATADIR%%/extension/plpython3u.control
|
||||
%%PYTHON3%%%%DATADIR%%/extension/plpython3u--1.0.sql
|
||||
%%PYTHON3%%%%DATADIR%%/extension/plpython3u--unpackaged--1.0.sql
|
||||
|
Loading…
Reference in New Issue
Block a user