summaryrefslogtreecommitdiff
path: root/graphics/linux_dri-devel
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2006-08-08 19:19:35 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2006-08-08 19:19:35 +0000
commit2fb3e05efa48e45adabc4d93f75a3a2435550fb3 (patch)
treeb48f94a934015e90ca6aacb98166bf5b7cbbf077 /graphics/linux_dri-devel
parent- update to 0.7.3 [1] (diff)
Let the ports which have both bz2 and gz distfiles extract on 4.x
(actually, if ${OSVERSION} < 502111): - remove BROKEN from graphics/linux_dri-devel; - remove IGNORE from graphics/linux_dri. The next technique is used (thanks Brooks Davis): .if ${OSVERSION} < 502111 EXTRACT_DEPENDS+= bsdtar:${PORTSDIR}/archivers/libarchive TAR= bsdtar .endif Approved by: netchild (mentor, implicit)
Notes
Notes: svn path=/head/; revision=170141
Diffstat (limited to 'graphics/linux_dri-devel')
-rw-r--r--graphics/linux_dri-devel/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/graphics/linux_dri-devel/Makefile b/graphics/linux_dri-devel/Makefile
index dce738339844..25d94b2d60f9 100644
--- a/graphics/linux_dri-devel/Makefile
+++ b/graphics/linux_dri-devel/Makefile
@@ -33,6 +33,13 @@ MODULELIST= i810_dri.so i915_dri.so mach64_dri.so mga_dri.so r128_dri.so \
sis_dri.so tdfx_dri.so
LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 502111
+EXTRACT_DEPENDS+= bsdtar:${PORTSDIR}/archivers/libarchive
+TAR= bsdtar
+.endif
+
do-install:
${MKDIR} ${PREFIX}/usr/X11R6/lib/modules/dri
${INSTALL_PROGRAM} ${WRKSRC}/linux_dri/libGL.so.1.2 \
@@ -61,8 +68,4 @@ do-install:
post-install:
@${LDCONFIG_LINUX} ${PREFIX}/usr/X11R6/lib
-.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-BROKEN= does not extract on 4.x (both bz2 and gz sources are used)
-.endif
.include <bsd.port.post.mk>