summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjoerg <joerg>2007-06-15 17:28:17 +0000
committerjoerg <joerg>2007-06-15 17:28:17 +0000
commitf9cd2bd5f088d6e3323762bce3cddff9725f2a76 (patch)
tree46ad7cfb4915ee5b86cf0bf39e2e2fc6a5fd8021 /misc
parente983c83b896ed3ae5c943c53f7d113c8c003f173 (diff)
downloadpkgsrc-f9cd2bd5f088d6e3323762bce3cddff9725f2a76.tar.gz
Depend on bzip2 using the tool framework.
Diffstat (limited to 'misc')
-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"