Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
EAPI="3" |
5 |
EAPI="3" |
6 |
|
6 |
|
7 |
inherit flag-o-matic |
7 |
inherit autotools flag-o-matic |
8 |
|
8 |
|
9 |
DESCRIPTION="Use this to make tarballs :)" |
9 |
DESCRIPTION="Use this to make tarballs :)" |
10 |
HOMEPAGE="http://www.gnu.org/software/tar/" |
10 |
HOMEPAGE="http://www.gnu.org/software/tar/" |
Lines 15-27
Link Here
|
15 |
LICENSE="GPL-3" |
15 |
LICENSE="GPL-3" |
16 |
SLOT="0" |
16 |
SLOT="0" |
17 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
17 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
18 |
IUSE="nls static userland_GNU" |
18 |
IUSE="nls static userland_GNU acl caps selinux xattr" |
19 |
|
19 |
|
20 |
RDEPEND="" |
20 |
RDEPEND="" |
21 |
DEPEND="${RDEPEND} |
21 |
DEPEND="${RDEPEND} |
22 |
nls? ( >=sys-devel/gettext-0.10.35 )" |
22 |
nls? ( >=sys-devel/gettext-0.10.35 )" |
23 |
|
23 |
|
24 |
src_prepare() { |
24 |
src_prepare() { |
|
|
25 |
epatch "${FILESDIR}"/${P}-full-xattr.patch #bug #382067 |
26 |
eautoreconf |
27 |
|
25 |
if ! use userland_GNU ; then |
28 |
if ! use userland_GNU ; then |
26 |
sed -i \ |
29 |
sed -i \ |
27 |
-e 's:/backup\.sh:/gbackup.sh:' \ |
30 |
-e 's:/backup\.sh:/gbackup.sh:' \ |
Lines 34-39
Link Here
|
34 |
local myconf |
37 |
local myconf |
35 |
use static && append-ldflags -static |
38 |
use static && append-ldflags -static |
36 |
use userland_GNU || myconf="--program-prefix=g" |
39 |
use userland_GNU || myconf="--program-prefix=g" |
|
|
40 |
if use acl || use caps || use selinux || use xattr ; then |
41 |
myconf+=" --enable-xattr" |
42 |
fi |
37 |
# Work around bug in sandbox #67051 |
43 |
# Work around bug in sandbox #67051 |
38 |
gl_cv_func_chown_follows_symlink=yes \ |
44 |
gl_cv_func_chown_follows_symlink=yes \ |
39 |
FORCE_UNSAFE_CONFIGURE=1 \ |
45 |
FORCE_UNSAFE_CONFIGURE=1 \ |