2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Ken Mays
17 include ..
/..
/..
/make-rules
/shared-macros.mk
18 include $(WS_MAKE_RULES
)/x11.mk
20 COMPONENT_NAME
= xf86-video-mach64
21 COMPONENT_VERSION
= 6.9.7
22 COMPONENT_SUMMARY
= xf86-video-mach64
- MACH64 driver for the Xorg X server
23 COMPONENT_FMRI
= x11
/server
/xorg
/driver
/xorg-video-mach64
24 COMPONENT_ARCHIVE_EXTENSION
= .
tar.xz
25 COMPONENT_ARCHIVE_HASH
= sha256
:50d78abffa7c8227e6f187976f23a244ae2095e97f08de275529b70fba9481ba
27 include $(WS_MAKE_RULES
)/common.mk
29 CFLAGS
+= -D__EXTENSIONS__
30 # Paths to find libraries/modules to link with
33 -L
$(X11_SERVERMODS_DIR
) -R
$(X11_SERVERMODS_DIR
) \
34 -lexa
-lint10
-lpciaccess
-lfb
-lpixman-1
-lshadowfb
-lvbe
36 # - Disable DRI since the kernel module isn't ported
37 CONFIGURE_OPTIONS
+= --disable-dri
39 CONFIGURE_OPTIONS
+= --enable-exa
40 CONFIGURE_OPTIONS
+= --enable-xaa
42 CONFIGURE_ENV
+= with_xorg_module_dir
=/usr
/lib
/xorg
/modules
/drivers
/$(MACH64
)
44 COMPONENT_BUILD_ARGS
+= $(COMPONENT_COMMON_ARGS
)
45 COMPONENT_INSTALL_ARGS
+= $(COMPONENT_COMMON_ARGS
)
48 REQUIRED_PACKAGES
+= x11
/header
/x11-protocols
49 REQUIRED_PACKAGES
+= system
/header
/header-drm
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES
+= diagnostic
/scanpci
53 REQUIRED_PACKAGES
+= library
/graphics
/pixman
54 REQUIRED_PACKAGES
+= system
/library
55 REQUIRED_PACKAGES
+= x11
/server
/xorg