summaryrefslogtreecommitdiffstats
path: root/graphics/dri/Makefile
diff options
context:
space:
mode:
authorzeising <zeising@058c260c-8361-11dd-a0ac-aa2bafec7d09>2013-01-31 19:15:07 +0800
committerzeising <zeising@058c260c-8361-11dd-a0ac-aa2bafec7d09>2013-01-31 19:15:07 +0800
commit9f97454798d9e276a6b252bc26df1ae3b906d262 (patch)
tree4bd41de5c37f1a899a3d312a9340b08ff81adb63 /graphics/dri/Makefile
parentb125954acc8078ba5057f29f5ebafb6d311bccd9 (diff)
downloadxorg-devel-ports-9f97454798d9e276a6b252bc26df1ae3b906d262.tar
xorg-devel-ports-9f97454798d9e276a6b252bc26df1ae3b906d262.tar.gz
xorg-devel-ports-9f97454798d9e276a6b252bc26df1ae3b906d262.tar.bz2
xorg-devel-ports-9f97454798d9e276a6b252bc26df1ae3b906d262.tar.lz
xorg-devel-ports-9f97454798d9e276a6b252bc26df1ae3b906d262.tar.xz
xorg-devel-ports-9f97454798d9e276a6b252bc26df1ae3b906d262.tar.zst
xorg-devel-ports-9f97454798d9e276a6b252bc26df1ae3b906d262.zip
Sync with ports tree.
This might need more work, but I want to sync it before digging deeper. git-svn-id: https://trillian.chruetertee.ch/svn/ports/trunk@637 058c260c-8361-11dd-a0ac-aa2bafec7d09
Diffstat (limited to 'graphics/dri/Makefile')
-rw-r--r--graphics/dri/Makefile89
1 files changed, 89 insertions, 0 deletions
diff --git a/graphics/dri/Makefile b/graphics/dri/Makefile
index da3cea8..146b32f 100644
--- a/graphics/dri/Makefile
+++ b/graphics/dri/Makefile
@@ -3,6 +3,7 @@
PORTNAME= dri
PORTVERSION= ${MESAVERSION}
+PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= graphics
@@ -25,4 +26,92 @@ do-install:
BROKEN= Does not install on ia64
.endif
+.if ${ARCH} != "amd64" || ${ARCH} != "i386"
+CONFIGURE_ARGS+=--disable-gallium-intel
+.endif
+
+.if ${ARCH} == "amd64"
+PLIST_SUB+= I810_DRIVER="@comment "
+PLIST_SUB+= I9X5_DRIVER=""
+PLIST_SUB+= MACH64_DRIVER=""
+PLIST_SUB+= MGA_DRIVER=""
+PLIST_SUB+= NOUVEAU_DRIVER=""
+PLIST_SUB+= RADEON_DRIVERS=""
+PLIST_SUB+= SAVAGE_DRIVER=""
+PLIST_SUB+= SIS_DRIVER=""
+PLIST_SUB+= SWRAST_DRIVER=""
+PLIST_SUB+= TDFX_DRIVER=""
+PLIST_SUB+= UNICHROME_DRIVER=""
+.endif
+
+.if ${ARCH} == "arm"
+PLIST_SUB+= I810_DRIVER="@comment "
+PLIST_SUB+= I9X5_DRIVER="@comment "
+PLIST_SUB+= MACH64_DRIVER="@comment "
+PLIST_SUB+= MGA_DRIVER="@comment "
+PLIST_SUB+= NOUVEAU_DRIVER="@comment "
+PLIST_SUB+= RADEON_DRIVERS="@comment "
+PLIST_SUB+= SAVAGE_DRIVER="@comment "
+PLIST_SUB+= SIS_DRIVER="@comment "
+PLIST_SUB+= SWRAST_DRIVER="@comment "
+PLIST_SUB+= TDFX_DRIVER="@comment "
+PLIST_SUB+= UNICHROME_DRIVER="@comment "
+.endif
+
+.if ${ARCH} == "i386"
+PLIST_SUB+= I810_DRIVER=""
+PLIST_SUB+= I9X5_DRIVER=""
+PLIST_SUB+= MACH64_DRIVER=""
+PLIST_SUB+= MGA_DRIVER=""
+PLIST_SUB+= NOUVEAU_DRIVER=""
+PLIST_SUB+= RADEON_DRIVERS=""
+PLIST_SUB+= SAVAGE_DRIVER=""
+PLIST_SUB+= SIS_DRIVER=""
+PLIST_SUB+= SWRAST_DRIVER=""
+PLIST_SUB+= TDFX_DRIVER=""
+PLIST_SUB+= UNICHROME_DRIVER=""
+.endif
+
+.if ${ARCH} == "mips"
+PLIST_SUB+= I810_DRIVER="@comment "
+PLIST_SUB+= I9X5_DRIVER="@comment "
+PLIST_SUB+= MACH64_DRIVER="@comment "
+PLIST_SUB+= MGA_DRIVER="@comment "
+PLIST_SUB+= NOUVEAU_DRIVER="@comment "
+PLIST_SUB+= RADEON_DRIVERS="@comment "
+PLIST_SUB+= SAVAGE_DRIVER="@comment "
+PLIST_SUB+= SIS_DRIVER="@comment "
+PLIST_SUB+= SWRAST_DRIVER="@comment "
+PLIST_SUB+= TDFX_DRIVER="@comment "
+PLIST_SUB+= UNICHROME_DRIVER="@comment "
+.endif
+
+.if ${ARCH} == "powerpc"
+PLIST_SUB+= I810_DRIVER="@comment "
+PLIST_SUB+= I9X5_DRIVER="@comment "
+PLIST_SUB+= MACH64_DRIVER=""
+PLIST_SUB+= MGA_DRIVER="@comment "
+PLIST_SUB+= NOUVEAU_DRIVER="@comment "
+PLIST_SUB+= RADEON_DRIVERS=""
+PLIST_SUB+= SAVAGE_DRIVER="@comment "
+PLIST_SUB+= SIS_DRIVER="@comment "
+PLIST_SUB+= SWRAST_DRIVER=""
+PLIST_SUB+= TDFX_DRIVER=""
+PLIST_SUB+= UNICHROME_DRIVER="@comment "
+.endif
+
+.if ${ARCH} == "sparc64"
+PLIST_SUB+= I810_DRIVER="@comment "
+PLIST_SUB+= I9X5_DRIVER="@comment "
+PLIST_SUB+= MACH64_DRIVER=""
+PLIST_SUB+= MGA_DRIVER="@comment "
+PLIST_SUB+= NOUVEAU_DRIVER="@comment "
+PLIST_SUB+= RADEON_DRIVERS=""
+PLIST_SUB+= SAVAGE_DRIVER="@comment "
+PLIST_SUB+= SIS_DRIVER="@comment "
+PLIST_SUB+= SWRAST_DRIVER=""
+PLIST_SUB+= TDFX_DRIVER="@comment "
+PLIST_SUB+= UNICHROME_DRIVER="@comment "
+.endif
+
.include <bsd.port.post.mk>