Skip to content

Commit

Permalink
java/netty: Fix buils with llvm15
Browse files Browse the repository at this point in the history
- OPTOINIZE DOCS install

Approved by:	portmgr (blanket)
  • Loading branch information
5u623l20 committed Jun 12, 2023
1 parent 32c0468 commit f2734cc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions java/netty/Makefile
Expand Up @@ -56,6 +56,10 @@ NETTY_ARCH= sparc_64
NETTY_ARCH= ${ARCH}
.endif

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif

post-extract:
(cd ${WRKSRC} && \
${JAR} xf jar/netty-transport-native-kqueue-${PORTVERSION}.Final-sources.jar)
Expand All @@ -75,6 +79,9 @@ do-install:
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/jar/all-in-one/${PORTNAME}-all-${PORTVERSION}.Final.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}-${PORTVERSION}.jar
${LN} -nfs ${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar

do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
.for DIR in ${DOCDIRS}
@cd ${WRKSRC} && ${COPYTREE_SHARE} ${DIR} ${STAGEDIR}${DOCSDIR}
.endfor
Expand Down

0 comments on commit f2734cc

Please sign in to comment.