pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2005Q1]: pkgsrc/sysutils/cdbkup Pullup ticket 507 - requested ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d519554cb349
branches:  pkgsrc-2005Q1
changeset: 491056:d519554cb349
user:      salo <salo%pkgsrc.org@localhost>
date:      Mon May 16 18:04:08 2005 +0000

description:
Pullup ticket 507 - requested by Klaus Heinz
portability fix for cdbkup

Revisions pulled up:
- pkgsrc/sysutils/cdbkup/Makefile       1.4

   Module Name:         pkgsrc
   Committed By:        kristerw
   Date:                Fri Mar 25 23:11:19 UTC 2005

   Modified Files:
        pkgsrc/sysutils/cdbkup: Makefile

   Log Message:
   Rewrite the version test in a way the NetBSD 1.6 make understands.

diffstat:

 sysutils/cdbkup/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 7e5b8477d0b5 -r d519554cb349 sysutils/cdbkup/Makefile
--- a/sysutils/cdbkup/Makefile  Mon May 16 15:08:28 2005 +0000
+++ b/sysutils/cdbkup/Makefile  Mon May 16 18:04:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2005/03/19 01:15:08 wiz Exp $
+# $NetBSD: Makefile,v 1.3.2.1 2005/05/16 18:04:08 salo Exp $
 
 DISTNAME=              cdbkup-1.0
 PKGREVISION=           1
@@ -14,7 +14,8 @@
 .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
 



Home | Main Index | Thread Index | Old Index