diff options
-rw-r--r-- | graphics/dri/Makefile | 19 |
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) |