Skip to content

Commit

Permalink
lang/yap: fix build with clang 18
Browse files Browse the repository at this point in the history
Unbreak build with clang 18. PORTREVISION not bumped.
  • Loading branch information
Eugene Grosbein authored and Eugene Grosbein committed Apr 12, 2024
1 parent 0660187 commit 8522a74
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lang/yap/Makefile
Expand Up @@ -52,6 +52,12 @@ CFLAGS+= -Wno-incompatible-function-pointer-types
CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
.endif

.if ${OPSYS} == FreeBSD && ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 180
pre-configure:
${REINPLACE_CMD} 's/-export-dynamic/-Wl,--export-dynamic/' \
configure packages/cplint/slipcase/Makefile.in
.endif

.if ${ARCH:Mpowerpc*}
USES+= compiler:gcc-c++11-lib
.endif
Expand Down

0 comments on commit 8522a74

Please sign in to comment.