Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824
33 lines
691 B
Makefile
33 lines
691 B
Makefile
PORTNAME= xf86-video-openchrome
|
|
PORTVERSION= 0.6.0
|
|
PORTREVISION= 5
|
|
CATEGORIES= x11-drivers
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= X.Org openChrome display driver
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libdrm.so:graphics/libdrm
|
|
|
|
USES= gl xorg xorg-cat:driver
|
|
USE_GL= gl
|
|
|
|
USE_XORG= x11 xext xv
|
|
|
|
# Override pkg-config to prevent linking against libudev
|
|
CONFIGURE_ENV+= LIBUDEV_LIBS="-L${LOCALBASE}"
|
|
MAKE_ARGS+= drivermandir=${LOCALBASE}/man/man4
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
# XvMC is only supported by this driver on x86
|
|
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
|
|
USE_XORG+= xvmc
|
|
PLIST_SUB+= XVMC=""
|
|
.else
|
|
PLIST_SUB+= XVMC="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|