diff options
| author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-18 05:04:51 +0000 |
|---|---|---|
| committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-18 06:57:12 +0000 |
| commit | 578591807a5d9bc9dd08130e63d268358b90e100 (patch) | |
| tree | 19b35285233ec9f6a2e099f4e2813c66727df5a2 | |
| parent | e236e1031f35f9c6c4f91d96af63ed810417e190 (diff) | |
net/xprobe: Fix build on 14
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
| -rw-r--r-- | net/xprobe/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/net/xprobe/Makefile b/net/xprobe/Makefile index dbc8e5015808..8c4f775f0f1e 100644 --- a/net/xprobe/Makefile +++ b/net/xprobe/Makefile @@ -14,6 +14,15 @@ LICENSE_FILE= ${WRKSRC}/COPYING CONFIGURE_ENV= INSTALL=${INSTALL} GNU_CONFIGURE= yes +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +USES+= llvm:max=15 +CC= clang${LLVM_VERSION} +CPP= clang-cpp${LLVM_VERSION} +CXX= clang++${LLVM_VERSION} +.endif + post-patch: @${REINPLACE_CMD} -e 's|-DBROKEN_BSD||' ${WRKSRC}/libs-external/USI++/src/configure |
