git: 079f8b91e335 - 2022Q4 - security/heimdal: Remove python dependency

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Thu, 17 Nov 2022 20:54:52 UTC
The branch 2022Q4 has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=079f8b91e3358f05d33eb6ad22100f123ee3c9e9

commit 079f8b91e3358f05d33eb6ad22100f123ee3c9e9
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-11-17 19:55:06 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-11-17 20:54:48 +0000

    security/heimdal: Remove python dependency
    
    Python is only needed in developer mode and only to regenerate already
    provided files in lib/wind.
    
    PR:             267814
    Submitted by:   jkim
    Reported by:    jkim
    Fixes:          a5523d807d01
    
    (cherry picked from commit 68dcf2c91fa47302d8224fbebb7bec190cc0efe9)
---
 security/heimdal/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile
index 14956859a0b2..139253bfba87 100644
--- a/security/heimdal/Makefile
+++ b/security/heimdal/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	heimdal
 PORTVERSION=	7.8.0
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	https://github.com/heimdal/heimdal/releases/download/${DISTNAME}/
 
@@ -13,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 CONFLICTS=	krb5 krb5-*
 
 USES=		cpe gettext-runtime gssapi:bootstrap,heimdal libtool pathfix \
-		pkgconfig python readline makeinfo ssl
+		pkgconfig readline makeinfo ssl
 CPE_VENDOR=	${PORTNAME}_project
 USE_LDCONFIG=	${GSSAPILIBDIR}
 
@@ -30,7 +31,8 @@ CONFIGURE_ENV=	ac_cv_header_fnmatch_h=yes \
 		ac_cv_header_db4_db_h=no \
 		ac_cv_header_db5_db_h=no \
 		ac_cv_header_db6_db_h=no \
-		ac_cv_prog_COMPILE_ET=${WRKSRC}/lib/com_err/compile_et
+		ac_cv_prog_COMPILE_ET=${WRKSRC}/lib/com_err/compile_et \
+		PYTHON="${TRUE}"
 CONFIGURE_ARGS=	--with-berkeley-db \
 		--with-libintl \
 		--with-libintl-include="${LOCALBASE}/include" \