mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
graphics/p5-Tk-JPEG-Lite: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
1fa9bb4bb1
commit
5a62e86a50
1 changed files with 6 additions and 0 deletions
|
@ -16,6 +16,12 @@ RUN_DEPENDS= p5-Tk>=0:x11-toolkits/p5-Tk
|
|||
USES= jpeg perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
|
||||
${WRKSRC}/Makefile.PL
|
||||
|
|
Loading…
Add table
Reference in a new issue