pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/doxygen



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Thu Feb 12 01:25:08 UTC 2026

Modified Files:
        pkgsrc/devel/doxygen: Makefile

Log Message:
doxygen: fix "-Wextra-semi" build issue more simply

Use BUILDLINK_TRANSFORM instead. Tested on NetBSD 9.4_STABLE.


To generate a diff of this commit:
cvs rdiff -u -r1.204 -r1.205 pkgsrc/devel/doxygen/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/doxygen/Makefile
diff -u pkgsrc/devel/doxygen/Makefile:1.204 pkgsrc/devel/doxygen/Makefile:1.205
--- pkgsrc/devel/doxygen/Makefile:1.204 Thu Feb  5 08:39:50 2026
+++ pkgsrc/devel/doxygen/Makefile       Thu Feb 12 01:25:08 2026
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.204 2026/02/05 08:39:50 mef Exp $
+# $NetBSD: Makefile,v 1.205 2026/02/12 01:25:08 gutteridge Exp $
 
 DISTNAME=      doxygen-1.16.1.src
 PKGNAME=       ${DISTNAME:S/.src//}
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  https://doxygen.nl/files/
 
@@ -22,10 +23,6 @@ USE_CXX_FEATURES=    c++17
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            gmake gs:run perl:run bison flex
 
-# if gcc version is 7.5, we will have
-# g++: error: unrecognized command line option '-Wextra-semi'; did you mean '-Wextra'?
-GCC_REQD+=             10
-
 MAKE_ENV+=             PKGSRC_CFLAGS=${CFLAGS:Q}
 MAKE_FLAGS+=           MAN1DIR=${PKGMANDIR}/man1
 
@@ -35,6 +32,9 @@ TEST_TARGET=          tests
 
 PYTHON_FOR_BUILD_ONLY= tool
 
+# GCC < 8 doesn't support -Wextra-semi. 
+BUILDLINK_TRANSFORM+=  rm:-Wextra-semi
+
 # Case Insensitive or Case Sensitive File System
 PLIST_VARS+=           ci cs
 



Home | Main Index | Thread Index | Old Index