Skip to content

Commit

Permalink
devel/sope2: Fix build with llvm16
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 8, 2023
1 parent bce060e commit dfbc45c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions devel/sope2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ PGSQL_USES= pgsql
MYSQL_USES= mysql
MEMCACHED_RUN_DEPENDS= ${LOCALBASE}/bin/memcached:databases/memcached

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
ADDITIONAL_CPPFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/sope-core/NGStreams/configure
Expand Down

0 comments on commit dfbc45c

Please sign in to comment.