pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Re-order nested .if statements for brevity.
details: https://anonhg.NetBSD.org/pkgsrc/rev/359080b8afc5
branches: trunk
changeset: 493265:359080b8afc5
user: jlam <jlam%pkgsrc.org@localhost>
date: Mon May 02 03:09:04 2005 +0000
description:
Re-order nested .if statements for brevity.
diffstat:
mk/bsd.pkg.mk | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diffs (28 lines):
diff -r 86eb54ae22f9 -r 359080b8afc5 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Mon May 02 02:50:33 2005 +0000
+++ b/mk/bsd.pkg.mk Mon May 02 03:09:04 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1619 2005/05/02 02:50:33 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1620 2005/05/02 03:09:04 jlam Exp $
#
# This file is in the public domain.
#
@@ -1753,14 +1753,11 @@
!empty(EXTRACT_SUFX:M*.lzh) || !empty(EXTRACT_SUFX:M*.lha)
BUILD_DEPENDS+= lha>=114.9:../../archivers/lha
.endif
-.if !empty(_USE_NEW_TOOLS:M[yY][eE][sS])
-. if !empty(EXTRACT_ONLY:M*.gz) || !empty(EXTRACT_ONLY:M*.tgz) || \
- !empty(EXTRACT_SUFX:M*.gz) || !empty(EXTRACT_SUFX:M*.tgz)
+.if !empty(EXTRACT_ONLY:M*.gz) || !empty(EXTRACT_ONLY:M*.tgz) || \
+ !empty(EXTRACT_SUFX:M*.gz) || !empty(EXTRACT_SUFX:M*.tgz)
+. if !empty(_USE_NEW_TOOLS:M[yY][eE][sS])
USE_TOOLS+= gzcat
-. endif
-.elif !defined(GZCAT)
-. if !empty(EXTRACT_ONLY:M*.gz) || !empty(EXTRACT_ONLY:M*.tgz) || \
- !empty(EXTRACT_SUFX:M*.gz) || !empty(EXTRACT_SUFX:M*.tgz)
+. elif !defined(GZCAT)
BUILD_DEPENDS+= gzip-base>=1.2.4b:../../archivers/gzip-base
GZCAT= ${LOCALBASE}/bin/zcat
. endif
Home |
Main Index |
Thread Index |
Old Index