pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/cdbkup Use USE_TOOLS to get a dependency on G...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/27c350c3109a
branches:  trunk
changeset: 496921:27c350c3109a
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Fri Jul 15 23:02:08 2005 +0000

description:
Use USE_TOOLS to get a dependency on GNU tar, instead of trying to guess.
Prevent paths to the build directories from being included in the package.
Bump PKGREVISION.

diffstat:

 sysutils/cdbkup/Makefile |  11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diffs (32 lines):

diff -r 9d62e560818b -r 27c350c3109a sysutils/cdbkup/Makefile
--- a/sysutils/cdbkup/Makefile  Fri Jul 15 22:25:58 2005 +0000
+++ b/sysutils/cdbkup/Makefile  Fri Jul 15 23:02:08 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2005/06/24 18:18:00 kristerw Exp $
+# $NetBSD: Makefile,v 1.7 2005/07/15 23:02:08 kristerw Exp $
 
 DISTNAME=              cdbkup-1.0
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            sysutils
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=cdbkup/} \
                        ftp://batraq.anything3d.com/pub/cdbkup/cdbkup-1/ \
@@ -14,16 +14,13 @@
 .include "../../mk/bsd.prefs.mk"
 
 DEPENDS+=              cdrecord>=1.10:../../sysutils/cdrecord
-.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
 
 GNU_CONFIGURE=         YES
 USE_PERL5=             YES
-USE_TOOLS+=            cat date
+USE_TOOLS+=            cat date gtar
 CONFIGURE_ENV+=                CAT="${TOOLS_CAT}"
 CONFIGURE_ENV+=                DATE="${TOOLS_DATE}"
+CONFIGURE_ENV+=                GNUTAR="${TOOLS_TAR}"
 
 .if (${OPSYS} == SunOS)
 CDBKUP_SNARDIR?=       /var/${PKGBASE}



Home | Main Index | Thread Index | Old Index