On 1/3/06, Tushar Teredesai <[EMAIL PROTECTED]> wrote: > On 1/3/06, Simon Scheiwiller <[EMAIL PROTECTED]> wrote: > > Thus spoke Tushar Teredesai: > > > > >BTW, instead of patching, it would probably be easier to use: > > > CPPFLAGS="-I/usr/X11R6/include" ./configure ... > > > > > > > > Of course, but I think using the patch would be cleaner, because it's > > more a problem of the Makefile which doesn't include the X_CFLAGS > > variable for compiling than of missing CPPFLAGS. Is it possible to run a > > sed command instead of the patch? I'm not familiar with sed yet. > > > > For the book, CPPFLAGS or sed sounds like a better alternative while > upstream fixes it. BTW, do notify upstream. Since most distros install > nas in /usr, the developers may not be aware of the problem.
how about this: sed -i \ 's/$(GTKSPELL_CFLAGS.*/&\n\t$(X_CFLAGS) \\/' \ src/Makefile.in The patch looked fine to me, but sed is preferred if the fix is simple. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page