Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2024 19:45:21 GMT
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7d2e8034e643 - main - net/gotify-server: fixed error message in Makefile
Message-ID:  <202410261945.49QJjLjN018875@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7d2e8034e643ad99b64784c8e5078aca80b463e8

commit 7d2e8034e643ad99b64784c8e5078aca80b463e8
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2024-10-26 19:43:56 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2024-10-26 19:43:56 +0000

    net/gotify-server: fixed error message in Makefile
    
    The exact errors appear below.
    
    net/gotify-server:
    
    This command (FreshPorts code 1):
    
    /usr/local/bin/sudo /usr/sbin/jexec freshports /make-port.sh /usr/ports
    net/gotify-server
    2>/tmp/FreshPorts.net.gotify-server.make-error.2024.10.26.8.33.5.9820
    
    produced this error:
    
    Error message is: make: "/usr/ports/net/gotify-server/Makefile" line
    30: Malformed conditional (${OPSYS} == FreeBSD && ${OSVERSION} >=
    1400000)
    make: Fatal errors encountered -- cannot continue
    Make results are : make: stopped in /usr/ports/net/gotify-server
    
    Reported by:    dan@langille.org
---
 net/gotify-server/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net/gotify-server/Makefile b/net/gotify-server/Makefile
index 69ab9b7ff48e..a300037b5f1f 100644
--- a/net/gotify-server/Makefile
+++ b/net/gotify-server/Makefile
@@ -27,6 +27,8 @@ GO_BUILDFLAGS=	-buildmode=pie -modcacherw \
 		-X 'main.BuildDate=${_BUILD_DATE}' \
 		-X 'main.Mode=prod'"
 
+.include <bsd.port.pre.mk>
+
 .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000
 MAKE_ENV+=	 NODE_OPTIONS=--openssl-legacy-provider
 .endif
@@ -71,4 +73,4 @@ make-yarn-cache: patch
 	cd ${WRKDIR} && ${TAR} -czf ${PORTNAME}-yarn-offline-cache-${DISTVERSION}${EXTRACT_SUFX} yarn-offline-cache
 	@${ECHO_CMD} upload ${PORTNAME}-yarn-offline-cache-${DISTVERSION}${EXTRACT_SUFX}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410261945.49QJjLjN018875>