Lines 27-38
Link Here
|
27 |
use sparc && myconf -Ud_longdbl |
27 |
use sparc && myconf -Ud_longdbl |
28 |
|
28 |
|
29 |
export BUILD_BZIP2=0 |
29 |
export BUILD_BZIP2=0 |
30 |
export BZIP2_INCLUDE=${EPREFIX}/usr/include |
30 |
export BZIP2_INCLUDE=${EROOT}usr/include |
31 |
export BZIP2_LIB=${EPREFIX}/usr/$(get_libdir) |
31 |
export BZIP2_LIB=${EROOT}usr/$(get_libdir) |
32 |
|
32 |
|
33 |
export BUILD_ZLIB=False |
33 |
export BUILD_ZLIB=False |
34 |
export ZLIB_INCLUDE=${EPREFIX}/usr/include |
34 |
export ZLIB_INCLUDE=${EROOT}usr/include |
35 |
export ZLIB_LIB=${EPREFIX}/usr/$(get_libdir) |
35 |
export ZLIB_LIB=${EROOT}usr/$(get_libdir) |
36 |
|
36 |
|
37 |
# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1 |
37 |
# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1 |
38 |
|
38 |
|
Lines 102-116
Link Here
|
102 |
|
102 |
|
103 |
myconf -Dnoextensions="${disabled_extensions}" |
103 |
myconf -Dnoextensions="${disabled_extensions}" |
104 |
|
104 |
|
105 |
sh Configure \ |
105 |
set -- \ |
106 |
-des \ |
|
|
107 |
-Duseshrplib \ |
106 |
-Duseshrplib \ |
108 |
-Darchname="${myarch}" \ |
107 |
-Darchname="${myarch}" \ |
109 |
-Dcc="$(tc-getCC)" \ |
108 |
-Dcc="$(tc-getCC)" \ |
110 |
-Doptimize="${CFLAGS}" \ |
109 |
-Doptimize="${CFLAGS}" \ |
111 |
-Dldflags="${LDFLAGS}" \ |
110 |
-Dldflags="${LDFLAGS}" \ |
112 |
-Dprefix="${EPREFIX}"'/usr' \ |
111 |
-Dprefix="${EPREFIX}"'/usr' \ |
113 |
-Dinstallprefix="${EPREFIX}"'/usr' \ |
|
|
114 |
-Dsiteprefix="${EPREFIX}"'/usr/local' \ |
112 |
-Dsiteprefix="${EPREFIX}"'/usr/local' \ |
115 |
-Dvendorprefix="${EPREFIX}"'/usr' \ |
113 |
-Dvendorprefix="${EPREFIX}"'/usr' \ |
116 |
-Dscriptdir="${EPREFIX}"'/usr/bin' \ |
114 |
-Dscriptdir="${EPREFIX}"'/usr/bin' \ |
Lines 136-143
Link Here
|
136 |
-Dcf_by='Gentoo' \ |
134 |
-Dcf_by='Gentoo' \ |
137 |
-Dmyhostname='localhost' \ |
135 |
-Dmyhostname='localhost' \ |
138 |
-Dperladmin='root@localhost' \ |
136 |
-Dperladmin='root@localhost' \ |
139 |
-Dinstallusrbinperl='n' \ |
|
|
140 |
-Ud_csh \ |
137 |
-Ud_csh \ |
141 |
-Uusenm \ |
138 |
-Uusenm \ |
142 |
"${myconf[@]}" || die "Unable to configure" |
139 |
"${myconf[@]}" |
|
|
140 |
|
141 |
if tc-is-cross-compiler; then |
142 |
MAKEOPTS+=" -j1" |
143 |
|
144 |
set -- \ |
145 |
./configure \ |
146 |
--target="${CHOST}" \ |
147 |
-Dinstallprefix='' \ |
148 |
-Dinstallusrbinperl='undef' \ |
149 |
-Dusevendorprefix='define' \ |
150 |
"${@}" |
151 |
else |
152 |
set -- \ |
153 |
sh Configure \ |
154 |
-des \ |
155 |
-Dinstallprefix="${EPREFIX}"'/usr' \ |
156 |
-Dinstallusrbinperl='n' \ |
157 |
"${@}" |
158 |
fi |
159 |
|
160 |
printf '%q ' "${@}"; echo |
161 |
"${@}" || die "Unable to configure" |
143 |
} |
162 |
} |