summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2008-05-25 19:52:55 +0000
committerjoerg <joerg>2008-05-25 19:52:55 +0000
commitb3b87d90098aa836ea265604d88415f81c0183a5 (patch)
treeb7e53484fc6bd4fd7e9143445f1ec60f8d1fae71
parent55e894addd1edad28ea33abd065b9eb3ff405a55 (diff)
downloadpkgsrc-b3b87d90098aa836ea265604d88415f81c0183a5.tar.gz
Require libarchive 2.5.4b and fallback to internal version otherwise.
-rw-r--r--pkgtools/pkg_install/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index 7d32d1909f9..4c86970bf39 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.152.2.2 2008/05/24 21:54:22 joerg Exp $
+# $NetBSD: Makefile,v 1.152.2.3 2008/05/25 19:52:55 joerg Exp $
# Notes to package maintainers:
#
@@ -76,8 +76,9 @@ MESSAGE_SUBST+= PKGVULNDIR=${PKG_DBDIR:Q} \
VERSION!= ${AWK} -F '"' '/PKGTOOLS_VERSION/ {print $$2}' \
${FILESDIR}/lib/version.h
-# linkresolver interface appeared in libarchive 2.5.
-BUILDLINK_API_DEPENDS.libarchive+= libarchive>=2.5
+# linkresolver interface appeared in libarchive 2.5 and extract
+# requires version 2.5.4b to handle hardlinks correctly.
+BUILDLINK_API_DEPENDS.libarchive+= libarchive>=2.5.4b
.include "../../archivers/bzip2/builtin.mk"
.include "../../archivers/libarchive/builtin.mk"