Skip to content

Commit

Permalink
x11/xdg-desktop-portal-wlr: 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 Sep 3, 2023
1 parent 20f7e4f commit f295903
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions x11/xdg-desktop-portal-wlr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f295903

Please sign in to comment.