44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.32 2022/04/10 08:53:24 nia Exp $
|
|
|
|
DISTNAME= xf86-video-vmware-13.3.0
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_XORG:=driver/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
HOMEPAGE= https://xorg.freedesktop.org/
|
|
COMMENT= Modular Xorg VMware virtual video driver
|
|
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= pkg-config
|
|
|
|
RELRO_SUPPORTED= partial
|
|
|
|
CONFIGURE_ENV.SunOS+= DRIVER_MAN_SUFFIX=4
|
|
|
|
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
|
|
|
|
X11_DRV_NAME= vmware
|
|
.include "../../meta-pkgs/modular-xorg/avoid-duplicate.mk"
|
|
.include "../../x11/modular-xorg-server/buildlink3.mk"
|
|
.include "../../x11/xorgproto/buildlink3.mk"
|
|
BUILDLINK_DEPMETHOD.libXext?= build
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|