Karel Zak <[EMAIL PROTECTED]> wrote Tue, Jan 10, 2006:
> 
>  Hi,

Hello,

> I have a problem with $(srcdir) in 0.11.0 build system:
> 
> make[3]: Entering directory 
> `/usr/src/build/678036-x86_64/BUILD/elinks-0.11.0/src/intl/gettext'
> /bin/sh /config.charset 'x86_64-redhat-linux-gnu' > 
> ../../../src/intl/gettext/charset.alias.new
> /bin/sh: /config.charset: No such file or directory
>         ^^^

Yes, I made a stupid last minut change there. Here are two commits that
I just pushed out into the elinks-0.11 branch:

http://pasky.or.cz/gitweb.cgi?p=elinks.git;a=commitdiff;h=d0745cceda111548b0a5ab73e4adb7f5b0bfcf2b
http://pasky.or.cz/gitweb.cgi?p=elinks.git;a=commitdiff;h=dabe0816fb3a2f67ad2b48b20d610b015840cac8

There's a link to plain/text versions of the patches if you want to use
them.

> Possible workaround is use $builddir rather than $srcdir:

The above patches just removed the '/' after $(srcdir)

> --- elinks-0.11.0/src/intl/gettext/Makefile.srcdir      2006-01-10 
> 15:36:46.000000000 +0100
> +++ elinks-0.11.0/src/intl/gettext/Makefile     2006-01-10 15:38:25.000000000 
> +0100
> @@ -25,9 +25,9 @@
>   textdomain.o
> 
> 
> -# $(builddir)/charset.alias: $(srcdir)/config.charset
> -$(builddir)/charset.alias: $(srcdir)config.charset
> -       $(SHELL) $(srcdir)/config.charset '$(host)' > [EMAIL PROTECTED]
> +# $(builddir)/charset.alias: $(builddir)/config.charset
> +$(builddir)/charset.alias: $(builddir)/config.charset
> +       $(SHELL) $(builddir)/config.charset '$(host)' > [EMAIL PROTECTED]
>         mv [EMAIL PROTECTED] $@
> 
>  # FIXME: Building plural.c from plural.y on the fly doesn't work
> @@ -61,7 +61,7 @@
>           $(MKINSTALLDIRS) $(DESTDIR)$(localedir); \
>           test -f $(DESTDIR)$(localedir)/locale.alias \
>             && orig=$(DESTDIR)$(localedir)/locale.alias \
> -           || orig=$(srcdir)/locale.alias; \
> +           || orig=$(builddir)/locale.alias; \
>           temp=$(DESTDIR)$(localedir)/t-locale.alias; \
>           dest=$(DESTDIR)$(localedir)/locale.alias; \
>           sed -f ref-add.sed $$orig > $$temp; \
> 
> 
> 
> 
> -- 
> Karel Zak <[EMAIL PROTECTED]>
> 
> _______________________________________________
> elinks-dev mailing list
> [email protected]
> http://linuxfromscratch.org/mailman/listinfo/elinks-dev

-- 
Jonas Fonseca
_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev

Reply via email to