Lines 127-149
Link Here
|
127 |
# increases java heap to 512M when building docs (sync with cheqreqs above) |
127 |
# increases java heap to 512M when building docs (sync with cheqreqs above) |
128 |
use doc && epatch "${FILESDIR}/${P}-java-heap.patch" |
128 |
use doc && epatch "${FILESDIR}/${P}-java-heap.patch" |
129 |
|
129 |
|
130 |
# use the LINGUAS variable that we set |
|
|
131 |
sed -i -e "/^ALL_LINGUAS=/d" -e "/^ALL_LINGUAS_DOC=/d" -i configure.ac |
132 |
|
133 |
# make sure the DOCBOOK_ROOT variable is set |
130 |
# make sure the DOCBOOK_ROOT variable is set |
134 |
sed -i -e "s/xsl-stylesheets-\*/xsl-stylesheets/g" bin/scilab* || die |
131 |
sed -e "s/xsl-stylesheets-\*/xsl-stylesheets/g" \ |
|
|
132 |
-i bin/scilab* || die "failed to sed bin/scilab*" |
133 |
|
134 |
# use CXX as a linker for scilab-bin |
135 |
sed -e '/^CCLD/ s/CC)/CXX)/' \ |
136 |
-i Makefile.in || die "failed to sed Makefile.in" |
137 |
|
138 |
# use the LINGUAS variable that we set |
139 |
sed -e "/^ALL_LINGUAS=/d" \ |
140 |
-e "/^ALL_LINGUAS_DOC=/d" \ |
141 |
-i configure.ac || die "failed to sed configure.ac" |
135 |
|
142 |
|
136 |
#add specific gentoo java directories |
143 |
#add specific gentoo java directories |
137 |
if use gui; then |
144 |
if use gui; then |
138 |
sed -i -e "s|/usr/lib/jogl|/usr/lib/jogl-2|" \ |
145 |
sed -e "s|/usr/lib/jogl|/usr/lib/jogl-2|" \ |
139 |
-e "s|/usr/lib64/jogl|/usr/lib64/jogl-2|" configure.ac || die |
146 |
-e "s|/usr/lib64/jogl|/usr/lib64/jogl-2|" \ |
140 |
sed -i -e "s|/usr/lib/gluegen|/usr/lib/gluegen-2|" \ |
147 |
-e "s|/usr/lib/gluegen|/usr/lib/gluegen-2|" \ |
141 |
-e "s|/usr/lib64/gluegen|/usr/lib64/gluegen-2|" \ |
148 |
-e "s|/usr/lib64/gluegen|/usr/lib64/gluegen-2|" \ |
142 |
-e "s|AC_CHECK_LIB(\[gluegen2-rt|AC_CHECK_LIB([gluegen-rt|" \ |
149 |
-e "s|AC_CHECK_LIB(\[gluegen2-rt|AC_CHECK_LIB([gluegen-rt|" \ |
143 |
configure.ac || die |
150 |
-i configure.ac || die "failed to sed configure.ac" |
144 |
|
151 |
|
145 |
sed -i -e "s/jogl/jogl-2/" -e "s/gluegen/gluegen-2/" \ |
152 |
sed -e "s/jogl/jogl-2/" -e "s/gluegen/gluegen-2/" \ |
146 |
etc/librarypath.xml || die |
153 |
-i etc/librarypath.xml || die "failed to sed etc/librarypath.xml" |
147 |
fi |
154 |
fi |
148 |
|
155 |
|
149 |
mkdir jar || die |
156 |
mkdir jar || die |