mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
x11/xdg-desktop-portal-wlr: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
20f7e4fc4f
commit
f295903414
@ -47,6 +47,12 @@ MANPAGES_PLIST_FILES= man/man5/${PORTNAME}.5.gz
|
||||
SLURP_DESC= Simple output chooser
|
||||
SLURP_RUN_DEPENDS= slurp:x11/slurp
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400097
|
||||
CFLAGS+= -D__BSD_VISIBLE -D__XSI_VISIBLE
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
|
||||
${WRKSRC}/${PORTNAME}.5.scd
|
||||
|
Loading…
Reference in New Issue
Block a user