aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql12-contrib
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2020-09-25 15:53:43 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2020-09-25 15:53:43 +0000
commitc44ccc450b455c7ad3ca4f3256d5f49725742c81 (patch)
tree368655b4a4e97b4a5e09690f00c949aa15756987 /databases/postgresql12-contrib
parent2a5c178e776fcb0946505f1f1aa01b1420498a5e (diff)
downloadports-c44ccc450b455c7ad3ca4f3256d5f49725742c81.tar.gz
ports-c44ccc450b455c7ad3ca4f3256d5f49725742c81.zip
Fix depenedency for postgresql13-contrib
And avoid hardcoding the version for all other versions as well, per suggestion in the PR. PR: 249888 Submitted by: Christian Ullrich
Notes
Notes: svn path=/head/; revision=550051
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