summaryrefslogtreecommitdiff
path: root/databases/postgresql90-plpython/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql90-plpython/Makefile')
-rw-r--r--databases/postgresql90-plpython/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/databases/postgresql90-plpython/Makefile b/databases/postgresql90-plpython/Makefile
index ccf6f2a45cc4..3b61ed2b0134 100644
--- a/databases/postgresql90-plpython/Makefile
+++ b/databases/postgresql90-plpython/Makefile
@@ -7,11 +7,12 @@ PKGNAMESUFFIX?= ${DISTVERSION:R:S/.//}${COMPONENT}
MAINTAINER= pgsql@FreeBSD.org
COMMENT= Module for using Python to write SQL functions
-USE_PGSQL= server
+USES+= pgsql:${WANT_PGSQL_VER}
+WANT_PGSQL= server
-MASTERDIR= ${.CURDIR}/../postgresql${WANT_PGSQL_VER}-server
+MASTERDIR= ${.CURDIR}/../postgresql${WANT_PGSQL_VER:S/.//}-server
-WANT_PGSQL_VER?= 90
+WANT_PGSQL_VER?= 9.0
USE_PYTHON?= yes
CONFIGURE_ARGS= --with-python