From 1d1a6caf59e111590af7aff4ff18df644edb8fd9 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sat, 2 Jul 2016 10:12:14 +0200 Subject: [PATCH] app-arch/libarchive: fix compilation on OSX, it needs acl enabled Package-Manager: portage-2.2.28 --- app-arch/libarchive/libarchive-3.1.2-r5.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app-arch/libarchive/libarchive-3.1.2-r5.ebuild b/app-arch/libarchive/libarchive-3.1.2-r5.ebuild index f968413bd974..7d43f909683a 100644 --- a/app-arch/libarchive/libarchive-3.1.2-r5.ebuild +++ b/app-arch/libarchive/libarchive-3.1.2-r5.ebuild @@ -48,10 +48,13 @@ multilib_src_configure() { export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923 local myconf=() + # acl: libarchive has tight integration with OSX, disabling acl + # breaks the code for it knows it is there and assumes hence is + # enabled myconf=( $(use_enable static-libs static) $(use_enable xattr) - $(use_enable acl) + $([[ ${CHOST} != *-darwin* ]] && use_enable acl) $(use_with zlib) $(use_with bzip2 bz2lib) $(use_with iconv) -- 2.26.2