1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

xz being included in all supported base system, remove code using version

from ports
while here properly define XSCAT is is used to allow xzed patches.

PR:		ports/185725
Submitted by:	naddy
This commit is contained in:
Baptiste Daroussin 2014-01-13 07:28:31 +00:00
parent a50d9328b5
commit c7617a10fb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339573
2 changed files with 1 additions and 7 deletions

View File

@ -101,11 +101,8 @@ XMKMF?= ${LOCALBASE}/bin/xmkmf
YACC?= /usr/bin/yacc
XZ?= -Mmax
.if exists(/usr/bin/xz)
XZCAT= /usr/bin/xzcat ${XZ}
XZ_CMD?= /usr/bin/xz ${XZ}
.else
XZ_CMD?= ${LOCALBASE}/bin/xz ${XZ}
.endif
MD5?= /sbin/md5
SHA256?= /sbin/sha256

View File

@ -1701,9 +1701,6 @@ EXTRACT_DEPENDS+= lha:${PORTSDIR}/archivers/lha
.if defined(USE_ZIP)
EXTRACT_DEPENDS+= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
.endif
.if defined(USE_XZ) && ( (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || ${OSVERSION} < 800505 )
EXTRACT_DEPENDS+= ${LOCALBASE}/bin/xz:${PORTSDIR}/archivers/xz
.endif
.if defined(USE_MAKESELF)
EXTRACT_DEPENDS+= unmakeself:${PORTSDIR}/archivers/unmakeself
.endif