pkgsrc-WIP-changes archive

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

librecad: Drop gnu++1z



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Mon Jun 22 14:55:16 2026 -0400
Changeset:	b82bf87d4753fad8f9e3105e3b5931ee55e88d90

Modified Files:
	librecad/Makefile

Log Message:
librecad: Drop gnu++1z

This is deprecated, and didn't do (in the pkgsrc compiler framework)
what was wanted anyway.  Hope a compiler that supports c++17 deals
with this, until librecad is fixed not to use it.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b82bf87d4753fad8f9e3105e3b5931ee55e88d90

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

diffstat:
 librecad/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diffs:
diff --git a/librecad/Makefile b/librecad/Makefile
index bb0d9ef2c7..0ac5ab83f5 100644
--- a/librecad/Makefile
+++ b/librecad/Makefile
@@ -18,9 +18,12 @@ EXTRACT_USING=	bsdtar
 
 USE_LANGUAGES=	c c++
 # Upstream declares that c++17 is required in librecad.pro and adds -std.
-# Some subdirectories apparently use -std=gnu++1z.
+# Some subdirectories apparently use -std=gnu++1z.  This is a
+# deprecated name for gnu++17.  We do not actually support using gnu
+# variants in # USE_CXX_FEATURES, so we'll hope that a compiler that
+# supports c++17 will support gnu++17 and additionally recognize the
+# gnu++1z variant.
 USE_CXX_FEATURES+=	c++17
-USE_CXX_FEATURES+=	gnu++1z
 
 USE_TOOLS+=	pax pkg-config
 USE_LIBTOOL=	yes


Home | Main Index | Thread Index | Old Index