Lines 131-144
src_prepare() {
Link Here
|
131 |
} |
131 |
} |
132 |
|
132 |
|
133 |
src_configure() { |
133 |
src_configure() { |
134 |
if use tk; then |
|
|
135 |
myconf="--with-tcltk \ |
136 |
--with-tk-config=${EPREFIX}/usr/lib/tkConfig.sh \ |
137 |
--with-tcl-config=${EPREFIX}/usr/lib/tclConfig.sh"; |
138 |
else |
139 |
myconf="--without-tcltk"; |
140 |
fi |
141 |
|
142 |
econf \ |
134 |
econf \ |
143 |
--enable-byte-compiled-packages \ |
135 |
--enable-byte-compiled-packages \ |
144 |
--enable-R-shlib \ |
136 |
--enable-R-shlib \ |
Lines 147-153
src_configure() {
Link Here
|
147 |
--with-system-bzlib \ |
139 |
--with-system-bzlib \ |
148 |
--with-system-pcre \ |
140 |
--with-system-pcre \ |
149 |
--with-system-xz \ |
141 |
--with-system-xz \ |
150 |
--with-blas="$($(tc-getPKG_CONFIG) --variable=libdir blas)" \ |
142 |
--with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \ |
151 |
--docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
143 |
--docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
152 |
rdocdir="${EPREFIX}/usr/share/doc/${PF}" \ |
144 |
rdocdir="${EPREFIX}/usr/share/doc/${PF}" \ |
153 |
$(use_enable nls) \ |
145 |
$(use_enable nls) \ |
Lines 164-171
src_configure() {
Link Here
|
164 |
$(use_with png libpng) \ |
156 |
$(use_with png libpng) \ |
165 |
$(use_with readline) \ |
157 |
$(use_with readline) \ |
166 |
$(use_with tiff libtiff) \ |
158 |
$(use_with tiff libtiff) \ |
167 |
$(use_with X x) \ |
159 |
$(use_with tk tcltk) \ |
168 |
${myconf} |
160 |
$(use_with X x) |
169 |
} |
161 |
} |
170 |
|
162 |
|
171 |
src_compile() { |
163 |
src_compile() { |