Changeset View
Changeset View
Standalone View
Standalone View
head/graphics/drm-fbsd12.0-kmod/Makefile
# Created by: Johannes Dieterich <jmd@FreeBSD.org> | # Created by: Johannes Dieterich <jmd@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= drm-fbsd12.0-kmod | PORTNAME= drm-fbsd12.0-kmod | ||||
PORTVERSION= 4.11.g20181027 | PORTVERSION= 4.16.g20181210 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= graphics | CATEGORIES= graphics | ||||
MAINTAINER= jmd@FreeBSD.org | MAINTAINER= jmd@FreeBSD.org | ||||
COMMENT= DRM modules for the linuxkpi-based KMS components | COMMENT= DRM modules for the linuxkpi-based KMS components | ||||
LICENSE= BSD2CLAUSE MIT GPLv2 | LICENSE= BSD2CLAUSE MIT GPLv2 | ||||
LICENSE_COMB= multi | LICENSE_COMB= multi | ||||
ONLY_FOR_ARCHS= amd64 | ONLY_FOR_ARCHS= amd64 i386 | ||||
ONLY_FOR_ARCHS_REASON= the new KMS components are only supported on amd64 | ONLY_FOR_ARCHS_REASON= the new KMS components are only supported on amd64 and i386 | ||||
RUN_DEPENDS= gpu-firmware-kmod>=g20180319:graphics/gpu-firmware-kmod | RUN_DEPENDS= gpu-firmware-kmod>=g20180319:graphics/gpu-firmware-kmod | ||||
CONFLICTS_INSTALL= drm-fbsd11.2-kmod drm-current-kmod drm-legacy-kmod | CONFLICTS_INSTALL= drm-fbsd11.2-kmod drm-current-kmod drm-legacy-kmod | ||||
OPTIONS_DEFINE= DEBUG | OPTIONS_DEFINE= DEBUG | ||||
USES= kmod uidfix | USES= kmod uidfix compiler:c++11-lang | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= FreeBSDDesktop | GH_ACCOUNT= FreeBSDDesktop | ||||
GH_PROJECT= kms-drm | GH_PROJECT= kms-drm | ||||
GH_TAGNAME= b545cc4 | GH_TAGNAME= ad84bf0 | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200058 | .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200058 | ||||
IGNORE= not supported on older CURRENT, no kernel support | IGNORE= not supported on older CURRENT, no kernel support | ||||
.endif | .endif | ||||
.if ${OPSYS} != FreeBSD | .if ${OPSYS} != FreeBSD | ||||
IGNORE= not supported on anything but FreeBSD (missing linuxkpi functionality) | IGNORE= not supported on anything but FreeBSD (missing linuxkpi functionality) | ||||
.endif | |||||
.if ${ARCH} == "amd64" | |||||
PLIST_SUB+= AMDGPU="" | |||||
PLIST_SUB+= AMDKFD="" | |||||
PLIST_SUB+= I915="" | |||||
PLIST_SUB+= VMWGFX="" | |||||
.elif ${ARCH} == "i386" | |||||
PLIST_SUB+= AMDGPU="@comment " | |||||
PLIST_SUB+= AMDKFD="@comment " | |||||
PLIST_SUB+= I915="" | |||||
PLIST_SUB+= VMWGFX="" | |||||
.elif ${ARCH} == "powerpc64" | |||||
PLIST_SUB+= AMDGPU="" | |||||
PLIST_SUB+= AMDKFD="@comment " | |||||
PLIST_SUB+= I915="@comment " | |||||
PLIST_SUB+= VMWGFX="@comment " | |||||
.else | |||||
PLIST_SUB+= AMDGPU="@comment " | |||||
PLIST_SUB+= AMDKFD="@comment " | |||||
PLIST_SUB+= I915="@comment " | |||||
PLIST_SUB+= VMWGFX="@comment " | |||||
.endif | .endif | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |