aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql12-contrib
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql12-contrib')
-rw-r--r--databases/postgresql12-contrib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/postgresql12-contrib/Makefile b/databases/postgresql12-contrib/Makefile
index f7c88aa12cd4..d53ed4574b44 100644
--- a/databases/postgresql12-contrib/Makefile
+++ b/databases/postgresql12-contrib/Makefile
@@ -10,7 +10,7 @@ COMMENT= The contrib utilities from the PostgreSQL distribution
MASTERDIR= ${.CURDIR}/../postgresql12-server
-USES= bison pgsql:12
+USES= bison pgsql:${DISTVERSION:C/([0-9]\.?[0-9]).*/\1/g}
BUILD_DIRS= src/port src/include src/common contrib
INSTALL_DIRS= contrib