summaryrefslogtreecommitdiff
path: root/databases/postgresql14-contrib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql14-contrib/Makefile')
-rw-r--r--databases/postgresql14-contrib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/postgresql14-contrib/Makefile b/databases/postgresql14-contrib/Makefile
index 5c4e80059c55..e60bf88b53b4 100644
--- a/databases/postgresql14-contrib/Makefile
+++ b/databases/postgresql14-contrib/Makefile
@@ -7,7 +7,7 @@ COMMENT= The contrib utilities from the PostgreSQL distribution
MASTERDIR= ${.CURDIR}/../postgresql14-server
-USES= bison pgsql:${DISTVERSION:C/([0-9]\.?[0-9]).*/\1/g}
+USES= bison pgsql:${PORTVERSION:R}
BUILD_DIRS= src/port src/include src/common contrib
INSTALL_DIRS= contrib
@@ -33,7 +33,7 @@ XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \
libxml2.so:textproc/libxml2
post-configure:
- @cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} symlinks
+ @cd ${WRKSRC}/src/backend && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} symlinks
post-install:
@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README