git: 05da8f099af3 - main - security/cyrus-sasl2: Better usage for gmake.

From: Hajimu UMEMOTO <ume_at_FreeBSD.org>
Date: Tue, 26 Mar 2024 13:35:01 UTC
The branch main has been updated by ume:

URL: https://cgit.FreeBSD.org/ports/commit/?id=05da8f099af396281185eda3208db1c07629a85f

commit 05da8f099af396281185eda3208db1c07629a85f
Author:     Hajimu UMEMOTO <ume@FreeBSD.org>
AuthorDate: 2024-03-26 13:31:41 +0000
Commit:     Hajimu UMEMOTO <ume@FreeBSD.org>
CommitDate: 2024-03-26 13:34:44 +0000

    security/cyrus-sasl2: Better usage for gmake.
    
    PR:             277955
    Reported by:    O. Hartmann <ohartmann@walstatt.org>
---
 security/cyrus-sasl2/Makefile.common | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/security/cyrus-sasl2/Makefile.common b/security/cyrus-sasl2/Makefile.common
index 604328fd8e03..620143f4753b 100644
--- a/security/cyrus-sasl2/Makefile.common
+++ b/security/cyrus-sasl2/Makefile.common
@@ -150,14 +150,14 @@ PORTDOCS=	*
 SUB_LIST+=	SASLAUTHD_RUNPATH=${SASLAUTHD_RUNPATH}
 
 do-build:
-	cd ${WRKSRC}/include && gmake
-	cd ${WRKSRC}/common && gmake
+	cd ${WRKSRC}/include && ${SETENVI} ${MAKE_ENV} ${MAKE_CMD}
+	cd ${WRKSRC}/common && ${SETENVI} ${MAKE_ENV} ${MAKE_CMD}
 #.if ${PORT_OPTIONS:MBDB1} || ${PORT_OPTIONS:MBDB} || ${PORT_OPTIONS:MGDBM}
-	cd ${WRKSRC}/sasldb && gmake
+	cd ${WRKSRC}/sasldb && ${SETENVI} ${MAKE_ENV} ${MAKE_CMD}
 #.endif
-	cd ${WRKSRC}/saslauthd && gmake
-	cd ${WRKSRC}/saslauthd && gmake saslcache
-	cd ${WRKSRC}/saslauthd && gmake testsaslauthd
+	cd ${WRKSRC}/saslauthd && ${SETENVI} ${MAKE_ENV} ${MAKE_CMD}
+	cd ${WRKSRC}/saslauthd && ${SETENVI} ${MAKE_ENV} ${MAKE_CMD} saslcache
+	cd ${WRKSRC}/saslauthd && ${SETENVI} ${MAKE_ENV} ${MAKE_CMD} testsaslauthd
 
 post-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/saslauthd/saslcache \
@@ -190,10 +190,10 @@ post-patch:
 		${WRKSRC}/configure
 
 do-build:
-	cd ${WRKSRC}/include && gmake
-	cd ${WRKSRC}/common && gmake
-	cd ${WRKSRC}/lib && gmake libobj.la
-	cd ${WRKSRC}/plugins && gmake
+	cd ${WRKSRC}/include && ${SETENVI} ${MAKE_ENV} ${MAKE_CMD}
+	cd ${WRKSRC}/common && ${SETENVI} ${MAKE_ENV} ${MAKE_CMD}
+	cd ${WRKSRC}/lib && ${SETENVI} ${MAKE_ENV} ${MAKE_CMD} libobj.la
+	cd ${WRKSRC}/plugins && ${SETENVI} ${MAKE_ENV} ${MAKE_CMD}
 
 .endif