diff options
| author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-10-28 18:52:22 +0000 |
|---|---|---|
| committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-10-28 18:52:22 +0000 |
| commit | 32da06605f03f4ddf81ed493611d9921e36e163b (patch) | |
| tree | 69321862885d2fa7b3949f552173bde84b52fa59 /databases/postgresql90-plpython | |
| parent | 62dd22fdbcb46c59eb76e14baf70aab665185661 (diff) | |
Notes
Diffstat (limited to 'databases/postgresql90-plpython')
| -rw-r--r-- | databases/postgresql90-plpython/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/databases/postgresql90-plpython/Makefile b/databases/postgresql90-plpython/Makefile index 678cc27dc5a6..b8b4ad02dd93 100644 --- a/databases/postgresql90-plpython/Makefile +++ b/databases/postgresql90-plpython/Makefile @@ -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 |
