From: Fabian Groffen Date: Sat, 2 Jul 2016 08:12:14 +0000 (+0200) Subject: app-arch/libarchive: fix compilation on OSX, it needs acl enabled X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1d1a6caf59e111590af7aff4ff18df644edb8fd9;p=gentoo.git app-arch/libarchive: fix compilation on OSX, it needs acl enabled Package-Manager: portage-2.2.28 --- 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)