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)
This commit is contained in:
Boris Samorodov 2006-08-08 19:19:35 +00:00
parent 7b2a3ecfb8
commit 2fb3e05efa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170141
2 changed files with 10 additions and 6 deletions

View File

@ -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>

View File

@ -35,8 +35,9 @@ LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= does not extract with the tar in FreeBSD 4.x
.if ${OSVERSION} < 502111
EXTRACT_DEPENDS+= bsdtar:${PORTSDIR}/archivers/libarchive
TAR= bsdtar
.endif
do-install: