summaryrefslogtreecommitdiff
path: root/databases/postgresql15-contrib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql15-contrib/Makefile')
-rw-r--r--databases/postgresql15-contrib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/postgresql15-contrib/Makefile b/databases/postgresql15-contrib/Makefile
index 4db178d55483..8d8803e14f03 100644
--- a/databases/postgresql15-contrib/Makefile
+++ b/databases/postgresql15-contrib/Makefile
@@ -7,7 +7,7 @@ COMMENT= The contrib utilities from the PostgreSQL distribution
MASTERDIR= ${.CURDIR}/../postgresql15-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