summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2017-11-25 15:48:49 +0000
committerbsiegert <bsiegert@pkgsrc.org>2017-11-25 15:48:49 +0000
commit56558de7e39c37279c4512da20f4b038da7edad2 (patch)
tree860e6b0dbfc530839deca88bde91a91e3ebf14ef
parente519d26b4ca7e0ba1eb695224009a3e9f0ae2b5a (diff)
downloadpkgsrc-56558de7e39c37279c4512da20f4b038da7edad2.tar.gz
Disable ACL support on ChromeOS.
For some reason, the configure script mis-detects acl support, then fails to build because the header file is missing.
-rw-r--r--archivers/bsdtar/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/archivers/bsdtar/Makefile b/archivers/bsdtar/Makefile
index bdd9cd998ac..204266f4d59 100644
--- a/archivers/bsdtar/Makefile
+++ b/archivers/bsdtar/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2016/01/27 12:26:11 jperkin Exp $
+# $NetBSD: Makefile,v 1.24 2017/11/25 15:48:49 bsiegert Exp $
.include "../../archivers/libarchive/Makefile.common"
+.include "../../mk/bsd.prefs.mk"
PKGNAME= ${DISTNAME:S/libarchive/bsdtar/}
COMMENT= Fast multi-format tape archiver
@@ -11,6 +12,9 @@ COMMENT= Fast multi-format tape archiver
CONFIGURE_ARGS+= --enable-bsdtar=static
CONFIGURE_ARGS+= --disable-bsdcpio
CONFIGURE_ARGS+= --disable-shared
+.if "${OS_VARIANT}" == "chromeos"
+CONFIGURE_ARGS+= --disable-acl
+.endif
.include "../../archivers/bzip2/builtin.mk"
.include "../../archivers/xz/builtin.mk"