From nobody Sat Oct 26 08:31:31 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XbCYH4DBGz5bhqC; Sat, 26 Oct 2024 08:31:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XbCYH2qHhz532n; Sat, 26 Oct 2024 08:31:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729931491; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LouTa3tLgMMn4/KDr+z2xlpvEDQUvmfvjJFnmkOfGzw=; b=jTSLNwEjK4XjDQO5w1YTPjIKgfUmLD58g9aBLsBnolAAzejIKA3DaltqqrfeNBZMLfOgKD gFFinEwXh9NiWfgq7EbPazhguDVOZSQsInOMXNYQYfEHEhqJbZ9IBWy8ijLemKdQ5j3/55 4zYUu2ao9Dh+eSqux8uWXwUetwWLWgZsQL/Vw9Cm/vnDZDHgTemW1YM8wF1/xBVTaQR9aC 7iid+/eWOUT3orfP/m3EVMNNnKI7hWIlUWjKCN2yipmG7ADdQ/8EjksjLqE5UUESAHzkFt QSkLiqhObsIY3gXHlQ6xsjtzoNdHChzagdJXMg96hUCbhxvNVMnp5wdmM0lc7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729931491; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LouTa3tLgMMn4/KDr+z2xlpvEDQUvmfvjJFnmkOfGzw=; b=i4O9o+VA4cQqCnO7IyOHyaG0WfvOw0DZIdH4YVnarxYWtmV8lWszqdEKZS/mpCcV12W6qr Cz7LmMzdedeI3entxwFp6AjALfcuTRijEiVytNUS8wbnQL1qGNzFI1E2uyDvyKCFj8BPgl Cr1skm1fO1Bkia0uw7vOtRJKxv1IjYh0q7O23Iwb4I5pvtorHdLHQtNYc11Mt+oH7gcw/b SawwV5HhZF2BRL6ahV0/JGD/QIP5Q1RuFOw1zfr5p7VQC7NPJqsJWGHYLwZWjjYYgq1OYv hz9Mk1vQW2Z6Vol9EyLi/l2skmTYdWWcTxlx7iqnMoXpInSPiXjFMKrQDauQrg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729931491; a=rsa-sha256; cv=none; b=Xe6pJD7ngqkZKhUyMeEzBKh4OrJFtxnpDzqCrRUhb/fl/ApQIvs0nOfQlKZlBlf1Ezy1Ob 0Sc/gg1KaJV+xXVFdWzQ0rEVh+Jwxu4DE+4R99U76Fx9AZpJfoNTzL9cyO7UBrgARsJEld y/pT84Ha0Kk6rsfkD8iUUjAEAXRJJWm6u49RHdrXqQpVS5uV7RRxQmmluF5NCzUZMoBEhW VsMGB3kDLx8YQXQl1WRCoLNVM1Eb0U++UtTOZFanlrDCOTfv/d8VZB5Lgl+cD1j6nqvf5x XTQ15kFvJUqiP8e7OZAZnMZMBZjQxJuR4nb4j6uYg0+wnzh4jc6ZS8/LnJRxQA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XbCYH2QgJz12l6; Sat, 26 Oct 2024 08:31:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49Q8VVnv072501; Sat, 26 Oct 2024 08:31:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49Q8VVJw072498; Sat, 26 Oct 2024 08:31:31 GMT (envelope-from git) Date: Sat, 26 Oct 2024 08:31:31 GMT Message-Id: <202410260831.49Q8VVJw072498@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthias Fechner Subject: git: 625a51d7a3db - main - net/gotify-server: fix build for FreeBSD < 14 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mfechner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 625a51d7a3dbeb96dd15c935020f1e974d8f3ca6 Auto-Submitted: auto-generated The branch main has been updated by mfechner: URL: https://cgit.FreeBSD.org/ports/commit/?id=625a51d7a3dbeb96dd15c935020f1e974d8f3ca6 commit 625a51d7a3dbeb96dd15c935020f1e974d8f3ca6 Author: Matthias Fechner AuthorDate: 2024-10-26 07:55:12 +0000 Commit: Matthias Fechner CommitDate: 2024-10-26 07:55:12 +0000 net/gotify-server: fix build for FreeBSD < 14 --- net/gotify-server/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/net/gotify-server/Makefile b/net/gotify-server/Makefile index cb216cc8653f..69ab9b7ff48e 100644 --- a/net/gotify-server/Makefile +++ b/net/gotify-server/Makefile @@ -15,6 +15,7 @@ LICENSE= MIT BUILD_DEPENDS= yarn${NODEJS_SUFFIX}>=1.10.0:www/yarn${NODEJS_SUFFIX} \ USES= go:modules,1.22 nodejs:build +USE_RC_SUBR= gotify_server GO_MODULE= github.com/gotify/server/v2 _BUILD_DATE= $$(date -u "+%Y-%m-%d-%H%M UTC") @@ -26,7 +27,9 @@ GO_BUILDFLAGS= -buildmode=pie -modcacherw \ -X 'main.BuildDate=${_BUILD_DATE}' \ -X 'main.Mode=prod'" -USE_RC_SUBR= gotify_server +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000 +MAKE_ENV+= NODE_OPTIONS=--openssl-legacy-provider +.endif USERS= gotify GROUPS= gotify @@ -39,7 +42,7 @@ post-patch: pre-build: @cd ${WRKSRC}/ui && ${SETENV} ${MAKE_ENV} HOME=${WRKDIR} PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true yarn install --offline - @cd ${WRKSRC}/ui && ${SETENV} ${MAKE_ENV} NODE_OPTIONS=--openssl-legacy-provider yarn build + @cd ${WRKSRC}/ui && ${SETENV} ${MAKE_ENV} yarn build #${RM} -r ${STAGEDIR}${PREFIX}/share/.cache