Skip to content

Commit

Permalink
java/jikes: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Pet portclippy

Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jun 25, 2023
1 parent de06f99 commit 436f58e
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions java/jikes/Makefile
Expand Up @@ -8,13 +8,18 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Java source to byte-code compiler made available by IBM
WWW= http://jikes.sf.net/

PLIST_SUB= PORTVERSION=${PORTVERSION}
USES= autoreconf gmake iconv localbase tar:bzip2

GNU_CONFIGURE= yes
CONFIGURE_ARGS= ac_cv_search_iconv=${ICONV_LIB} \
ac_cv_search_libiconv_open=no
USES= autoreconf iconv gmake tar:bzip2

CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
PLIST_SUB= PORTVERSION=${PORTVERSION}

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CPPFLAGS+= -Dregister=
.endif

.include <bsd.port.mk>

0 comments on commit 436f58e

Please sign in to comment.