diff options
author | tnn <tnn@pkgsrc.org> | 2015-09-25 01:43:43 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-09-25 01:43:43 +0000 |
commit | af9aaea96322e9271dcaa9852fb7d8dfa6bf1133 (patch) | |
tree | da33b95aa61a13d0e3849132a579dd7165d1b194 | |
parent | f53fa777f2e453f80280341acd91b54f8e86597e (diff) | |
download | pkgsrc-af9aaea96322e9271dcaa9852fb7d8dfa6bf1133.tar.gz |
add "xatracker" option, which enables support for kernel modesetting and 3D
-rw-r--r-- | x11/xf86-video-vmware/Makefile | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/x11/xf86-video-vmware/Makefile b/x11/xf86-video-vmware/Makefile index 2bbda1db057..450b85ee48f 100644 --- a/x11/xf86-video-vmware/Makefile +++ b/x11/xf86-video-vmware/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.22 2015/04/25 14:25:24 tnn Exp $ +# $NetBSD: Makefile,v 1.23 2015/09/25 01:43:43 tnn Exp $ DISTNAME= xf86-video-vmware-13.1.0 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_XORG:=driver/} EXTRACT_SUFX= .tar.bz2 @@ -20,6 +20,24 @@ USE_TOOLS+= pkg-config CONFIGURE_ENV+= DRIVER_MAN_SUFFIX=4 .endif +ONLY_FOR_PLATFORM+= *-*-i386 *-*-x86_64 + +PKG_OPTIONS_VAR= PKG_OPTIONS.xf86-video-vmware +PKG_SUPPORTED_OPTIONS= xatracker +PKG_SUGGESTED_OPTIONS= + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mxatracker) +CFLAGS+= -fPIC +BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=11 +.include "../../graphics/MesaLib/buildlink3.mk" +.include "../../lang/libLLVM/buildlink3.mk" +.else +pre-configure: + find ${BUILDLINK_DIR} -name xatracker.pc -delete +.endif + .include "../../x11/modular-xorg-server/buildlink3.mk" .include "../../x11/randrproto/buildlink3.mk" BUILDLINK_DEPMETHOD.libXext?= build |