Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
EAPI="4" |
5 |
EAPI="4" |
6 |
|
6 |
|
7 |
inherit eutils toolchain-funcs multilib |
7 |
inherit autotools eutils toolchain-funcs multilib |
8 |
|
8 |
|
9 |
DESCRIPTION="xfs filesystem utilities" |
9 |
DESCRIPTION="xfs filesystem utilities" |
10 |
HOMEPAGE="http://oss.sgi.com/projects/xfs/" |
10 |
HOMEPAGE="http://oss.sgi.com/projects/xfs/" |
Lines 38-43
pkg_setup() {
Link Here
|
38 |
|
38 |
|
39 |
src_prepare() { |
39 |
src_prepare() { |
40 |
epatch "${FILESDIR}"/${PN}-4.3.0-sharedlibs.patch |
40 |
epatch "${FILESDIR}"/${PN}-4.3.0-sharedlibs.patch |
|
|
41 |
epatch "${FILESDIR}"/${PN}-4.3.0-remove-aio-check.patch |
42 |
epatch "${FILESDIR}"/${PN}-4.3.0-use-sigprocmask.patch |
43 |
epatch "${FILESDIR}"/${PN}-4.3.0-use-statfs.patch |
44 |
eautoreconf |
41 |
|
45 |
|
42 |
# LLDFLAGS is used for programs, so apply -all-static when USE=static is enabled. |
46 |
# LLDFLAGS is used for programs, so apply -all-static when USE=static is enabled. |
43 |
# Clear out -static from all flags since we want to link against dynamic xfs libs. |
47 |
# Clear out -static from all flags since we want to link against dynamic xfs libs. |
Lines 86-91
src_configure() {
Link Here
|
86 |
} |
90 |
} |
87 |
|
91 |
|
88 |
src_install() { |
92 |
src_install() { |
|
|
93 |
# XXX: On uclibc, the include/install-sh script is not copied |
94 |
# to the top-level directory, which is required for the |
95 |
# install to finish correctly. This is a hack around |
96 |
# that problem. |
97 |
cp -f "${S}"/include/install-sh "${S}" |
98 |
|
89 |
emake DIST_ROOT="${ED}" install |
99 |
emake DIST_ROOT="${ED}" install |
90 |
# parallel install fails on this target for >=xfsprogs-3.2.0 |
100 |
# parallel install fails on this target for >=xfsprogs-3.2.0 |
91 |
emake -j1 DIST_ROOT="${ED}" install-dev |
101 |
emake -j1 DIST_ROOT="${ED}" install-dev |