diff options
Diffstat (limited to 'textproc/opensearch-dashboards219/Makefile')
-rw-r--r-- | textproc/opensearch-dashboards219/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/textproc/opensearch-dashboards219/Makefile b/textproc/opensearch-dashboards219/Makefile index dfe6740216b9..8939dc02e167 100644 --- a/textproc/opensearch-dashboards219/Makefile +++ b/textproc/opensearch-dashboards219/Makefile @@ -1,6 +1,7 @@ PORTNAME= opensearch-dashboards DISTVERSION= 2.19.1 DISTVERSIONSUFFIX= -linux-${OPENSEARCH_ARCH} +PORTREVISION= 1 CATEGORIES= textproc www MASTER_SITES= https://artifacts.opensearch.org/releases/bundle/${PORTNAME}/${DISTVERSION}/ PKGNAMESUFFIX= 219 @@ -17,9 +18,9 @@ ONLY_FOR_ARCHS= aarch64 amd64 CONFLICTS= opensearch-dashboards opensearch-dashboards210 opensearch-dashboards213 \ opensearch-dashboards216 -BUILD_DEPENDS= npm-node18>0:www/npm-node18 +BUILD_DEPENDS= npm-node20>0:www/npm-node20 -USES= nodejs:18,build,run python:build +USES= nodejs:20,build,run python:build USE_RC_SUBR= ${PORTNAME} SUB_FILES= pkg-deinstall @@ -29,7 +30,7 @@ SUB_LIST= PORTNAME="${PORTNAME}" \ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -NODE_VER= 18.18.0 +NODE_VER= 20.19.2 NO_BUILD= yes _DEVDIR= ${WRKDIR}/.devdir @@ -43,7 +44,7 @@ OPENSEARCH_ARCH= x64 .endif post-patch: - @${REINPLACE_CMD} -e 's|14.20.1|${NODE_VER}|g' ${WRKSRC}/package.json + @${REINPLACE_CMD} -e 's|<19|<=${NODE_VER}|g' ${WRKSRC}/package.json ${RM} \ ${WRKSRC}/bin/*.orig \ ${WRKSRC}/bin/*.bak \ |