pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/scmcvs



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sat Jul  4 12:56:29 UTC 2026

Modified Files:
        pkgsrc/devel/scmcvs: Makefile

Log Message:
devel/scmcvs: Use autoconf269 to avoid C23

Use autoconf269 as a tool, rather than autoconf, because
devel/autoconf recently looks for and enables --std=c23 when
configure.ac asks for C.  Autoconf sees this as a feature, it seems,
while some pkgsrc people see it as a bug (vs having the package ask
for the specific dialect that the program is written in.)

Other suggestions have been floated
  - generate once with old autoconf, patch configure with that output,
    and drop the autoconf tool
  - Adjust compiler support so --std=c23 is an error if c23 is not in
    USE_CC_FEATURES.

but using older (but not ancient) autoconf is a small change that
works around the current issue, and does not make larger fixes harder.

No PKGREVISION++, because this is all about avoiding build failures.
While there might be a different compiler mode on some platforms, we
don't bump for platform compiler changes, and this amounts to the same
thing.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/scmcvs/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/scmcvs/Makefile
diff -u pkgsrc/devel/scmcvs/Makefile:1.23 pkgsrc/devel/scmcvs/Makefile:1.24
--- pkgsrc/devel/scmcvs/Makefile:1.23   Tue Apr 29 09:10:51 2025
+++ pkgsrc/devel/scmcvs/Makefile        Sat Jul  4 12:56:29 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2025/04/29 09:10:51 tnn Exp $
+# $NetBSD: Makefile,v 1.24 2026/07/04 12:56:29 gdt Exp $
 
 DISTNAME=      cvs-1.12.13
 PKGREVISION=   9
@@ -11,7 +11,9 @@ HOMEPAGE=     https://cvs.nongnu.org/
 COMMENT=       Concurrent Versions System
 LICENSE=       gnu-gpl-v2
 
-USE_TOOLS+=            makeinfo autoconf
+# autoconf 2.73 AC_PROG_CC attempts to set --std=c23, which cvs does not support.
+USE_TOOLS+=            autoconf269
+USE_TOOLS+=            makeinfo
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-external-zlib
 CONFIGURE_ARGS+=       --with-rsh=ssh



Home | Main Index | Thread Index | Old Index