diff options
-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 |