aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql95-contrib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql95-contrib/Makefile')
-rw-r--r--databases/postgresql95-contrib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/postgresql95-contrib/Makefile b/databases/postgresql95-contrib/Makefile
index 760edb6a941d..592c19c8a228 100644
--- a/databases/postgresql95-contrib/Makefile
+++ b/databases/postgresql95-contrib/Makefile
@@ -13,7 +13,7 @@ LIB_DEPENDS= libxslt.so:textproc/libxslt \
MASTERDIR= ${.CURDIR}/../postgresql95-server
-USES= bison pgsql:9.5
+USES= bison pgsql:${DISTVERSION:C/([0-9]\.?[0-9]).*/\1/g}
BUILD_DIRS= src/port src/common contrib
INSTALL_DIRS= contrib