diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-26 00:44:22 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-26 00:48:20 +0000 |
commit | 95274bf4f99c71fc056013d966aec239161dfd74 (patch) | |
tree | bc1e95977678cb5b6b00b33e333b28161885e706 /graphics/anttweakbar | |
parent | dbe06d2da8c38d9d058f7939a7c6af36a2c0f1c7 (diff) | |
download | ports-95274bf4f99c71fc056013d966aec239161dfd74.tar.gz ports-95274bf4f99c71fc056013d966aec239161dfd74.zip |
*/*: Fix build with llvm16 on 13.2-STABLE
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE
with the OSVERSION 1302507.
- Utilize USE_CXXSTD=c++14 or similar solution where applicable
- Update conditionals to addtionally check for OSVERSION greater than
1302507 and less than 1400000
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'graphics/anttweakbar')
-rw-r--r-- | graphics/anttweakbar/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/anttweakbar/Makefile b/graphics/anttweakbar/Makefile index 046e1d0b0028..a2914a650142 100644 --- a/graphics/anttweakbar/Makefile +++ b/graphics/anttweakbar/Makefile @@ -34,7 +34,7 @@ PLIST_FILES= include/AntTweakBar.h \ .include <bsd.port.options.mk> post-patch: -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) @${REINPLACE_CMD} -e 's|public binary_function|public __binary_function|' \ ${WRKSRC}/TwMgr.cpp .endif |