Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2026 18:16:49 +0000
From:      Bjoern A. Zeeb <bz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c6170b7ca883 - main - graphics/drm-515-kmod: re-add check for __FreeBSD_version < 1400081
Message-ID:  <69711811.4270b.722a6aa@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bz:

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

commit c6170b7ca8837b44858fce98ed6f9db5cd697e0e
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-01-21 15:41:13 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-01-21 18:16:17 +0000

    graphics/drm-515-kmod: re-add check for __FreeBSD_version < 1400081
    
    Build breakages on FreeBSD 13 started to show up without any
    other changes to the sources.  Turns out when the port was disabled
    for FreeBSD 16 and newer, the check for FreeBSD pre-1400081 was removed.
    
    Re-add that check to avoid constant build failure reports.
    
    Fixes:          eef56dc01bd7
    Reviewed by:    manu, jrm
    Differential Revision: https://reviews.freebsd.org/D54813
---
 graphics/drm-515-kmod/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/graphics/drm-515-kmod/Makefile b/graphics/drm-515-kmod/Makefile
index 47eb4b4aa210..92567305369e 100644
--- a/graphics/drm-515-kmod/Makefile
+++ b/graphics/drm-515-kmod/Makefile
@@ -31,7 +31,9 @@ GH_TAGNAME=	${DRM_KMOD_GH_TAGNAME}
 SUB_FILES=	pkg-message
 SUB_LIST=	OPSYS=${OPSYS} OSREL=${OSREL}
 
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1600000
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400081
+IGNORE=		not supported on older than 14.0, no kernel support
+.elif ${OPSYS} == FreeBSD && ${OSVERSION} >= 1600000
 IGNORE=		not supported on FreeBSD 16.0 and higher
 .endif
 .if ${OPSYS} != FreeBSD


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69711811.4270b.722a6aa>