aboutsummaryrefslogtreecommitdiff
path: root/graphics/dri/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dri/Makefile')
-rw-r--r--graphics/dri/Makefile35
1 files changed, 2 insertions, 33 deletions
diff --git a/graphics/dri/Makefile b/graphics/dri/Makefile
index 4923b70ec1f5..a0d4dde75dd7 100644
--- a/graphics/dri/Makefile
+++ b/graphics/dri/Makefile
@@ -7,7 +7,6 @@
PORTNAME= dri
PORTVERSION= ${MESAVERSION}
-PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= graphics
@@ -19,40 +18,10 @@ BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
CONFLICTS= dri-6.2.2005* dri-6.5.2006*
-MAKE_ENV+= FBSDCC="${CC}" FBSDCXX="${CXX}" \
- FBSDCFLAGS="${CFLAGS}" FBSDCXXFLAGS="${CXXFLAGS}" \
- PTHREAD_LIBS=${PTHREAD_LIBS}
-
-USE_XORG= x11
-
-DRIMODDIR= ${PREFIX}/lib/dri
-SRCDIR= mesa
-
-.if !defined(ARCH)
-ARCH!= uname -p
-.endif
+USE_XORG= glproto x11 xext xxf86vm xdamage xfixes
do-install:
- ${MKDIR} ${DRIMODDIR}
-.if ${ARCH} == i386
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/i810_dri.so ${DRIMODDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/i915_dri.so ${DRIMODDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/i965_dri.so ${DRIMODDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/unichrome_dri.so ${DRIMODDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/tdfx_dri.so ${DRIMODDIR}
-.elif ${ARCH} == amd64
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/i915_dri.so ${DRIMODDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/i965_dri.so ${DRIMODDIR}
-.endif
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/mach64_dri.so ${DRIMODDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/mga_dri.so ${DRIMODDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/r128_dri.so ${DRIMODDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/r200_dri.so ${DRIMODDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/r300_dri.so ${DRIMODDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/radeon_dri.so ${DRIMODDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/savage_dri.so ${DRIMODDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/sis_dri.so ${DRIMODDIR}
+ cd ${WRKSRC}/src/mesa; ${GMAKE} install-dri
.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
-
.include <bsd.port.mk>