1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

x11/wmenu: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-09-02 14:15:02 +02:00
parent 4458b6d2d9
commit f4c28b4891

View File

@ -29,4 +29,10 @@ LDFLAGS+= `pkg-config --libs epoll-shim`
PLIST_FILES= bin/wmenu \
man/man1/wmenu.1.gz
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400097
CFLAGS+= -D__BSD_VISIBLE -D__XSI_VISIBLE
.endif
.include <bsd.port.mk>