git: 39290bdcb8e4 - main - devel/sdbus-cpp: deprecate unused dependency on FreeBSD >= 13.0

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=39290bdcb8e47eff056ea24833aecf6ffed73abc

commit 39290bdcb8e47eff056ea24833aecf6ffed73abc
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:04:59 +0000

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

diff --git a/devel/sdbus-cpp/Makefile b/devel/sdbus-cpp/Makefile
index 84e2c4ba2054..660beb7d2f71 100644
--- a/devel/sdbus-cpp/Makefile
+++ b/devel/sdbus-cpp/Makefile
@@ -22,9 +22,9 @@ CMAKE_ON=	BUILD_CODE_GEN
 CMAKE_OFF=	BUILD_DOC
 CMAKE_TESTING_ON=	BUILD_TESTS
 
-.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
 CFLAGS+=	`pkg-config --cflags epoll-shim`
 LDFLAGS+=	`pkg-config --libs epoll-shim`