summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@058c260c-8361-11dd-a0ac-aa2bafec7d09>2013-08-21 21:46:05 +0800
committerkwm <kwm@058c260c-8361-11dd-a0ac-aa2bafec7d09>2013-08-21 21:46:05 +0800
commit7afa41c5d8728f2a01aa582f4f42a7f9acc4ddbd (patch)
treecc363ef9380d1006d574868f04c8695015ef4965
parent0692ce7b8988e16e561688dd78d68f4e8ce36fe5 (diff)
downloadxorg-devel-ports-7afa41c5d8728f2a01aa582f4f42a7f9acc4ddbd.tar
xorg-devel-ports-7afa41c5d8728f2a01aa582f4f42a7f9acc4ddbd.tar.gz
xorg-devel-ports-7afa41c5d8728f2a01aa582f4f42a7f9acc4ddbd.tar.bz2
xorg-devel-ports-7afa41c5d8728f2a01aa582f4f42a7f9acc4ddbd.tar.lz
xorg-devel-ports-7afa41c5d8728f2a01aa582f4f42a7f9acc4ddbd.tar.xz
xorg-devel-ports-7afa41c5d8728f2a01aa582f4f42a7f9acc4ddbd.tar.zst
xorg-devel-ports-7afa41c5d8728f2a01aa582f4f42a7f9acc4ddbd.zip
radeon option needs libdrm_radeon which is only build on certain archs.
Also stop quoting ARCH checks. Use new lib_depend schema, and give ia64 another chance. git-svn-id: https://trillian.chruetertee.ch/svn/ports/trunk@1078 058c260c-8361-11dd-a0ac-aa2bafec7d09
-rw-r--r--graphics/dri/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/graphics/dri/Makefile b/graphics/dri/Makefile
index 763f621..38701d6 100644
--- a/graphics/dri/Makefile
+++ b/graphics/dri/Makefile
@@ -10,8 +10,8 @@ CATEGORIES= graphics
COMMENT= OpenGL hardware acceleration drivers for the DRI
BUILD_DEPENDS= python2:${PORTSDIR}/lang/python2
-LIB_DEPENDS= drm:${PORTSDIR}/graphics/libdrm \
- expat:${PORTSDIR}/textproc/expat2
+LIB_DEPENDS= libdrm.so:${PORTSDIR}/graphics/libdrm \
+ libexpat.so:${PORTSDIR}/textproc/expat2
USES= pkgconfig
USE_XORG= glproto x11 xext xxf86vm xdamage xfixes dri2proto
@@ -20,8 +20,8 @@ CONFLICTS= dri-[7-8].*
.include <bsd.port.options.mk>
-.if ${ARCH} == "ia64"
-BROKEN= does not install on ia64
+.if ${ARCH} == ia64
+#BROKEN= does not install on ia64
.endif
ALL_DRI_DRIVERS=I915 I965 R200 RADEON SWRAST
@@ -34,7 +34,7 @@ ALL_DRI_DRIVERS+=I810 MACH64 MGA R128 R300 R600 SAVAGE SIS TDFX UNICHROME
PLIST_SUB+= VERSION=${MESADISTVERSION}
-.if ${ARCH} == "amd64" || ${ARCH} == "i386"
+.if ${ARCH} == amd64 || ${ARCH} == i386
DRI_DRIVERS= ${ALL_DRI_DRIVERS}
.endif
@@ -57,13 +57,16 @@ PLIST_SUB+= GALLIUM=""
CONFIGURE_ARGS+=--enable-gallium-llvm=no --without-gallium-drivers
PLIST_SUB+= GALLIUM="@comment "
. endif
-. if ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
+. if ${ARCH} == powerpc || ${ARCH} == ia64
DRI_DRIVERS= RADEON SWRAST
. endif
+. if ${ARCH} == sparc64
+DRI_DRIVERS= SWRAST
+. endif
.else # !defined(WITH_NEW_XORG)
-. if ${ARCH} == "powerpc"
+. if ${ARCH} == powerpc
DRI_DRIVERS= MACH64 RADEON SWRAST TDFX
-. elif ${ARCH} == "sparc64"
+. elif ${ARCH} == sparc64
DRI_DRIVERS= MACH64 RADEON SWRAST
. endif
.endif # defined(WITH_NEW_XORG)