Hi,
On 13.01.2011, at 17:47, Jan Rovins wrote:
>
> Hi,
>
> The top level Makefile in groff calls configure in the gnulib sub directory,
> without the necessary T2 cross options. we need to run it ahead of that time,
> with the proper options before we call make.
>
> Otherwise the glib configure will error out, when cross building for a
> different arch.
ACK, noticed the same, today (...). Sorry for the late reply, just so much
stuff on the desk, ...
Committed revision 39002.
René
> Index: package/base/groff/groff.conf
> ===================================================================
> --- package/base/groff/groff.conf (revision 38462)
> +++ package/base/groff/groff.conf (working copy)
> @@ -13,7 +13,19 @@
> # GNU General Public License can be found in the file COPYING.
> # --- T2-COPYRIGHT-NOTE-END ---
>
> -pm_groff () {
> +premake_groff () {
> + # When cross building, the configure in the gnulib
> + # subdir does not get called with the proper options
> + # because it gets invoked from the top Makefile,
> + # if we dont run it explicitly
> + cd src/libs/gnulib/
> + echo "Running gnulib configure with: $confopt"
> + eval ./configure $confopt
> + cd -
> +}
> +
> +
> +postmake_groff () {
> ln -sf soelim $root$bindir/zsoelim
>
> mkdir mandocj ; cd mandocj ; tar $taropt `match_source_file -p mandocj`
> @@ -24,7 +36,8 @@
> cd ..
> }
>
> -hook_add postmake 5 "pm_groff"
> +hook_add premake 5 "premake_groff"
> +hook_add postmake 5 "postmake_groff"
>
> var_append extraconfopt ' ' '--enable-japanese --enable-multibyte'
>
>
>
> ----------------------------------------------------------- If you wish to
> unsubscribe from this mailing, send mail to
> [email protected] with a subject of: unsubscribe t2
--
René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
http://exactcode.com | http://t2-project.org | http://rene.rebe.de
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2