diff options
author | pav <pav@FreeBSD.org> | 2010-06-04 16:09:20 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2010-06-04 16:09:20 +0800 |
commit | e7f0a8b3c17c3b5364b3d27dda111d6817712cfd (patch) | |
tree | 77155b7cf2dae561704dbe7239314bd09db1ec8f /Mk/bsd.commands.mk | |
parent | 08466ea7f867fd5df5471a209dfd43d6c6266d3d (diff) | |
download | freebsd-ports-gnome-e7f0a8b3c17c3b5364b3d27dda111d6817712cfd.tar.gz freebsd-ports-gnome-e7f0a8b3c17c3b5364b3d27dda111d6817712cfd.tar.zst freebsd-ports-gnome-e7f0a8b3c17c3b5364b3d27dda111d6817712cfd.zip |
- Introduce a new USE_XZ knob that handles lzma/xz compressed distfiles
- Convert a bunch of ports to use it
PR: ports/146329
Submitted by: mm
With hat: portmgr
Diffstat (limited to 'Mk/bsd.commands.mk')
-rw-r--r-- | Mk/bsd.commands.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Mk/bsd.commands.mk b/Mk/bsd.commands.mk index 2320597ee130..60095228516f 100644 --- a/Mk/bsd.commands.mk +++ b/Mk/bsd.commands.mk @@ -93,6 +93,12 @@ XARGS?= /usr/bin/xargs XMKMF?= ${LOCALBASE}/bin/xmkmf -a YACC?= /usr/bin/yacc +.if exists(/usr/bin/xz) +XZ_CMD?= /usr/bin/xz +.else +XZ_CMD?= ${LOCALBASE}/bin/xz +.endif + .if exists(/sbin/md5) MD5?= /sbin/md5 .else |