|
Lines 48-55
Link Here
|
| 48 |
xargs -0 -I '{}' \ |
48 |
xargs -0 -I '{}' \ |
| 49 |
sed -r -e 's:-\<Werror\>::g' -i '{}' \ |
49 |
sed -r -e 's:-\<Werror\>::g' -i '{}' \ |
| 50 |
|| die |
50 |
|| die |
|
|
51 |
if use userland_BSD ; then |
| 52 |
find "${S}/generate/unix" -type f -name 'Makefile*' -print0 | \ |
| 53 |
xargs -0 -I '{}' \ |
| 54 |
sed -r -e 's:make BITS=:gmake BITS=:g' \ |
| 55 |
-e 's:--remove-destination:-f:g' -i '{}' \ |
| 56 |
|| die |
| 57 |
fi |
| 51 |
|
58 |
|
| 52 |
export BITS=64 |
59 |
case ${ARCH} in |
|
|
60 |
amd64*) |
| 61 |
export BITS=64 |
| 62 |
;; |
| 63 |
*) |
| 64 |
export BITS=32 |
| 65 |
;; |
| 66 |
esac |
| 53 |
} |
67 |
} |
| 54 |
|
68 |
|
| 55 |
src_configure() { |
69 |
src_configure() { |
|
Lines 57-64
Link Here
|
| 57 |
} |
71 |
} |
| 58 |
|
72 |
|
| 59 |
src_compile() { |
73 |
src_compile() { |
| 60 |
cd acpica/generate/unix |
74 |
cd "${S}"/generate/unix |
| 61 |
emake BITS=${BITS} |
75 |
emake -j1 BITS=${BITS} |
| 62 |
} |
76 |
} |
| 63 |
|
77 |
|
| 64 |
src_test() { |
78 |
src_test() { |
|
Lines 68-76
Link Here
|
| 68 |
} |
82 |
} |
| 69 |
|
83 |
|
| 70 |
src_install() { |
84 |
src_install() { |
| 71 |
cd acpica/generate/unix |
85 |
if use userland_BSD ; then |
| 72 |
emake install DESTDIR="${D}" BITS=${BITS} |
86 |
cd "${S}"/generate/unix/bin${BITS} |
| 73 |
default_src_install |
87 |
dobin * |
|
|
88 |
else |
| 89 |
cd "${S}"/generate/unix |
| 90 |
emake install DESTDIR="${D}" BITS=${BITS} |
| 91 |
default_src_install |
| 92 |
fi |
| 74 |
#local bin |
93 |
#local bin |
| 75 |
#for bin in $(<"${T}"/binlist) ; do |
94 |
#for bin in $(<"${T}"/binlist) ; do |
| 76 |
# dobin "${T}"/${bin} |
95 |
# dobin "${T}"/${bin} |