Lines 18-27
Link Here
|
18 |
src_compile() { |
18 |
src_compile() { |
19 |
confopts="--infodir=/usr/share/info --mandir=/usr/share/man \ |
19 |
confopts="--infodir=/usr/share/info --mandir=/usr/share/man \ |
20 |
--prefix=/usr --host=${CHOST} --enable-static \ |
20 |
--prefix=/usr --host=${CHOST} --enable-static \ |
21 |
--disable-debugging --enable-shared --enable-fpm=intel" |
21 |
--disable-debugging --enable-shared" |
22 |
|
22 |
|
23 |
use nls || confopts="${confopts} --disable-nls" |
23 |
use nls || confopts="${confopts} --disable-nls" |
24 |
|
24 |
|
|
|
25 |
case ${ARCH} in |
26 |
x86) |
27 |
confopts="${confopts} --enable-fpm=intel" |
28 |
;; |
29 |
ppc) |
30 |
confopts="${confopts} --enable-fpm=ppc" |
31 |
;; |
32 |
sparc*) |
33 |
confopts="${confopts} --enable-fpm=sparc" |
34 |
;; |
35 |
esac |
36 |
|
25 |
./configure ${confopts} || die |
37 |
./configure ${confopts} || die |
26 |
emake || die |
38 |
emake || die |
27 |
} |
39 |
} |