git: 4769cdd44c98 - main - multimedia/helvum: deprecate unused dependency on FreeBSD >= 13.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 28 Aug 2023 17:05:15 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4769cdd44c98c3904549d0638a90d7e8e1bbdd40

commit 4769cdd44c98c3904549d0638a90d7e8e1bbdd40
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-08-28 16:50:09 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-08-28 17:05:00 +0000

    multimedia/helvum: deprecate unused dependency on FreeBSD >= 13.0
    
    DragonFly-specific workarounds are better maintained within DPorts.
---
 multimedia/helvum/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/multimedia/helvum/Makefile b/multimedia/helvum/Makefile
index aba62dbd5d0f..c81db8257aaf 100644
--- a/multimedia/helvum/Makefile
+++ b/multimedia/helvum/Makefile
@@ -29,9 +29,9 @@ post-patch:
 	@${REINPLACE_CMD} -e "/cargo_options =/s/ '--/&verbose', &verbose', &/" \
 		${WRKSRC}/src/meson.build
 
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} != FreeBSD || ${OSVERSION} < 1300134
+# XXX Drop after FreeBSD 12.4 EOL around 2023-12-31
+# https://cgit.freebsd.org/src/commit/?id=7a202823aa54
+.if !exists(/usr/include/sys/eventfd.h)
 LIB_DEPENDS+=	libepoll-shim.so:devel/libepoll-shim
 LDFLAGS+=	-lepoll-shim
 .endif