aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2023-06-25 15:11:02 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2023-06-26 22:58:22 +0000
commit834cf69a0a053d87b204a2e97e0cad8e7ac4dd41 (patch)
tree27074f766af43ad141f82d04a746bcc9b9721735
parenta9c5bca5e158d2de03cf81a82fd50725770dd8f8 (diff)
downloadports-834cf69a0a053d87b204a2e97e0cad8e7ac4dd41.tar.gz
ports-834cf69a0a053d87b204a2e97e0cad8e7ac4dd41.zip
devel/sunpromake: fix build with LLVM 16
The codebase makes heavy use of the register keyword, which no longer exists as of C++17. Supply -Wno-register to permit a build anyway. Reported by: fallout
-rw-r--r--devel/sunpromake/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/sunpromake/Makefile b/devel/sunpromake/Makefile
index 0cdb1edfd52e..9ca93ca36049 100644
--- a/devel/sunpromake/Makefile
+++ b/devel/sunpromake/Makefile
@@ -11,6 +11,8 @@ CONFLICTS= dmake
MASTERDIR= ${.CURDIR}/../../devel/schilybase
COMPONENTS= sunpro
+CXXFLAGS+= -Wno-register
+
# these libraries are installed by the sunpro component
# but are internal to the program. The author recommends
# not shipping them, so we don't.