1 |
commit: 1d1a6caf59e111590af7aff4ff18df644edb8fd9 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 2 08:12:14 2016 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 2 08:12:25 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d1a6caf |
7 |
|
8 |
app-arch/libarchive: fix compilation on OSX, it needs acl enabled |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
app-arch/libarchive/libarchive-3.1.2-r5.ebuild | 5 ++++- |
13 |
1 file changed, 4 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/app-arch/libarchive/libarchive-3.1.2-r5.ebuild b/app-arch/libarchive/libarchive-3.1.2-r5.ebuild |
16 |
index f968413..7d43f90 100644 |
17 |
--- a/app-arch/libarchive/libarchive-3.1.2-r5.ebuild |
18 |
+++ b/app-arch/libarchive/libarchive-3.1.2-r5.ebuild |
19 |
@@ -48,10 +48,13 @@ multilib_src_configure() { |
20 |
export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923 |
21 |
|
22 |
local myconf=() |
23 |
+ # acl: libarchive has tight integration with OSX, disabling acl |
24 |
+ # breaks the code for it knows it is there and assumes hence is |
25 |
+ # enabled |
26 |
myconf=( |
27 |
$(use_enable static-libs static) |
28 |
$(use_enable xattr) |
29 |
- $(use_enable acl) |
30 |
+ $([[ ${CHOST} != *-darwin* ]] && use_enable acl) |
31 |
$(use_with zlib) |
32 |
$(use_with bzip2 bz2lib) |
33 |
$(use_with iconv) |