tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/security/mit-krb5



It turns out that the c11 is just an autoconf default and this is just
c99.  I'll wait until Thursday as this seems like a bigger change.


Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/mit-krb5/Makefile,v
retrieving revision 1.122
diff -u -p -r1.122 Makefile
--- Makefile	29 Apr 2025 12:51:48 -0000	1.122
+++ Makefile	29 Apr 2025 13:50:32 -0000
@@ -3,7 +3,7 @@
 BRANCHNAME=	1.21
 DISTNAME=	krb5-${BRANCHNAME}.3
 PKGNAME=	mit-${DISTNAME}
-PKGREVISION=	1
+PKGREVISION=	2
 CATEGORIES=	security
 # It is not clear how stable this URL scheme is.
 MASTER_SITES=	http://web.mit.edu/kerberos/dist/krb5/${BRANCHNAME}/
@@ -34,7 +34,10 @@ BUILD_TARGET=	generate-files-mac all
 CONFLICTS+=	heimdal-[0-9]*
 CONFLICTS+=	kth-krb4-[0-9]*
 
-USE_LANGUAGES=		c c++
+USE_LANGUAGES=		c
+USE_CC_FEATURES+=	c99	# not documented, but configure checks
+FORCE_C_STD=		c99	# build fails in c23 mode
+
 USE_LIBTOOL=		yes
 GNU_CONFIGURE=		yes
 USE_TOOLS+=		autoconf bison gzip m4 msgfmt perl
@@ -82,11 +85,6 @@ INSTALLATION_DIRS=	bin include/gssapi in
 
 .include "../../mk/compiler.mk"
 
-.if !empty(CC_VERSION:Mgcc-15)
-# mit-krb5 is not C23 compliant & needs too many patches to make it compile.
-CFLAGS+=		-std=gnu17 # reduced from gnu23
-.endif
-
 .include "options.mk"
 
 pre-configure:


Home | Main Index | Thread Index | Old Index