git: c1e480fdcab9 - main - x11-toolkits/fox16: Genericize llvm16 fix from [1]
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 25 Jun 2023 21:06:00 UTC
The branch main has been updated by jhale:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c1e480fdcab9449576610ea83ff16f45b8f4f3bd
commit c1e480fdcab9449576610ea83ff16f45b8f4f3bd
Author: Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2023-06-25 20:55:07 +0000
Commit: Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2023-06-25 21:05:52 +0000
x11-toolkits/fox16: Genericize llvm16 fix from [1]
Checking against the operating system version doesn't make much sense
to me since the problem will return if not using the base compiler.
This change will also suppress warnings when building with older
versions of Clang.
[1] https://cgit.freebsd.org/ports/commit/?id=abad80143b961d4b2431114a4a5160d0efd04284
---
x11-toolkits/fox16/Makefile | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/x11-toolkits/fox16/Makefile b/x11-toolkits/fox16/Makefile
index ab05351f6a92..6187abee5673 100644
--- a/x11-toolkits/fox16/Makefile
+++ b/x11-toolkits/fox16/Makefile
@@ -23,7 +23,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-opengl --with-x --with-xim
USE_LDCONFIG= yes
-CPPFLAGS+= -fPIC
+CPPFLAGS+= -fPIC -Dregister=
PLIST_SUB= MAJORVER="${MAJORVER}"
@@ -83,10 +83,6 @@ CXXFLAGS+= -fexpensive-optimizations -finline-functions
. endif
.endif
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
-CPPFLAGS+= -Dregister=
-.endif
-
post-patch:
# Rename man pages as in manpage.1 --> manpage-16.1 to avoid
# conflicts with fox14 and fox17