pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/bsdiff Depend on bzip2 using the tool framework.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/895013ca3d9d
branches:  trunk
changeset: 530046:895013ca3d9d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Jun 15 17:28:17 2007 +0000

description:
Depend on bzip2 using the tool framework.

diffstat:

 misc/bsdiff/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r a305af0981ab -r 895013ca3d9d misc/bsdiff/Makefile
--- a/misc/bsdiff/Makefile      Fri Jun 15 17:16:02 2007 +0000
+++ b/misc/bsdiff/Makefile      Fri Jun 15 17:28:17 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/11/20 07:30:35 cjep Exp $
+# $NetBSD: Makefile,v 1.8 2007/06/15 17:28:17 joerg Exp $
 #
 
 DISTNAME=              bsdiff-4.3
@@ -9,9 +9,9 @@
 HOMEPAGE=              http://www.daemonology.net/bsdiff/
 COMMENT=               Size efficient binary diff and patch tools
 
-.if !exists(/usr/bin/bzip2)
-MAKE_ENV+=             BZIP2=${LOCALBASE}/bin/bzip2
-.endif
+USE_TOOLS+=            bzip2:run
+
+MAKE_ENV+=             BZIP2=${BZIP2}
 
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index