Skip to content

Commit 4e3fd5c

Browse files
committed
doxygen: fix "-Wextra-semi" build issue more simply
Use BUILDLINK_TRANSFORM instead. Tested on NetBSD 9.4_STABLE.
1 parent 4663685 commit 4e3fd5c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

devel/doxygen/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# $NetBSD: Makefile,v 1.204 2026/02/05 08:39:50 mef Exp $
1+
# $NetBSD: Makefile,v 1.205 2026/02/12 01:25:08 gutteridge Exp $
22

33
DISTNAME= doxygen-1.16.1.src
44
PKGNAME= ${DISTNAME:S/.src//}
5+
PKGREVISION= 1
56
CATEGORIES= devel
67
MASTER_SITES= https://doxygen.nl/files/
78

@@ -22,10 +23,6 @@ USE_CXX_FEATURES= c++17
2223
USE_LANGUAGES= c c++
2324
USE_TOOLS+= gmake gs:run perl:run bison flex
2425

25-
# if gcc version is 7.5, we will have
26-
# g++: error: unrecognized command line option '-Wextra-semi'; did you mean '-Wextra'?
27-
GCC_REQD+= 10
28-
2926
MAKE_ENV+= PKGSRC_CFLAGS=${CFLAGS:Q}
3027
MAKE_FLAGS+= MAN1DIR=${PKGMANDIR}/man1
3128

@@ -35,6 +32,9 @@ TEST_TARGET= tests
3532

3633
PYTHON_FOR_BUILD_ONLY= tool
3734

35+
# GCC < 8 doesn't support -Wextra-semi.
36+
BUILDLINK_TRANSFORM+= rm:-Wextra-semi
37+
3838
# Case Insensitive or Case Sensitive File System
3939
PLIST_VARS+= ci cs
4040

0 commit comments

Comments
 (0)