summaryrefslogtreecommitdiff
path: root/misc/bsdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-06-15 17:28:17 +0000
committerjoerg <joerg@pkgsrc.org>2007-06-15 17:28:17 +0000
commit84de0f677da9571f3962faef9d663bb82e00ef7d (patch)
tree46ad7cfb4915ee5b86cf0bf39e2e2fc6a5fd8021 /misc/bsdiff
parentddcb773c75dd8e0c7ac46125f6fa19ff349ee9d5 (diff)
downloadpkgsrc-84de0f677da9571f3962faef9d663bb82e00ef7d.tar.gz
Depend on bzip2 using the tool framework.
Diffstat (limited to 'misc/bsdiff')
-rw-r--r--misc/bsdiff/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/bsdiff/Makefile b/misc/bsdiff/Makefile
index 0a9e58785b3..6a99caeb8cf 100644
--- a/misc/bsdiff/Makefile
+++ b/misc/bsdiff/Makefile
@@ -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 @@ MAINTAINER= cjep@NetBSD.org
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"