summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2005-03-25 23:11:19 +0000
committerkristerw <kristerw@pkgsrc.org>2005-03-25 23:11:19 +0000
commit01a04925639a2a34cf4f044dd6f725472a30db3b (patch)
treeb948af8f669bfd991c5a15c40fddff23487e85e6 /sysutils
parentc78ddffee0bb10386ad5d772977ae5814e898f79 (diff)
downloadpkgsrc-01a04925639a2a34cf4f044dd6f725472a30db3b.tar.gz
Rewrite the version test in a way the NetBSD 1.6 make understands.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cdbkup/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/cdbkup/Makefile b/sysutils/cdbkup/Makefile
index d6ed81e429a..fb90b9b97df 100644
--- a/sysutils/cdbkup/Makefile
+++ b/sysutils/cdbkup/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/03/19 01:15:08 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2005/03/25 23:11:19 kristerw Exp $
DISTNAME= cdbkup-1.0
PKGREVISION= 1
@@ -14,7 +14,8 @@ COMMENT= CD-R(W) backup/restore system
.include "../../mk/bsd.prefs.mk"
DEPENDS+= cdrecord>=1.10:../../sysutils/cdrecord
-.if ${OPSYS} == "NetBSD" && (${OS_VERSION:M1.6[K-Z]} || ${OS_VERSION:M[2-9].*})
+.if ${OPSYS} == "NetBSD" && \
+ (!empty(OS_VERSION:M1.6[K-Z]) || !empty(OS_VERSION:M[2-9].*))
DEPENDS+= gtar-base>=1.13.25:../../archivers/gtar-base
.endif