Skip to content

Commit

Permalink
net/xprobe: Fix build on 14
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 18, 2023
1 parent e236e10 commit 5785918
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions net/xprobe/Makefile
Expand Up @@ -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

Expand Down

0 comments on commit 5785918

Please sign in to comment.