mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
net/trickle: Fix build with llvm16
- Pet portclippy Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
070863350c
commit
a2c48babbb
@ -14,10 +14,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
LIB_DEPENDS= libevent.so:devel/libevent
|
||||
|
||||
USES= libtool localbase
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-libevent=${LOCALBASE} \
|
||||
--sysconfdir=${PREFIX}/etc
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
@ -25,6 +26,11 @@ PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/trickle/trickle-overload.so
|
||||
${INSTALL_DATA} ${FILESDIR}/trickled.conf ${STAGEDIR}${PREFIX}/etc/trickled.conf.sample
|
||||
|
Loading…
Reference in New Issue
Block a user