On 1/4/06, Simon Scheiwiller <[EMAIL PROTECTED]> wrote:
>
> Thus spoke Andrew Benton:
> > Tushar Teredesai wrote:
> >>    CPPFLAGS="-I/usr/X11R6/include" ./configure ...
> >
> > It is easier to add that to the book. Thanks Tushar
> >
>
> It works as long as you don't put X at another place (for whatever
> reason...). The sed command or the patch is more universal.

Gotta agree there.  What if you're installing X in /usr/X11R7 as might
be happening in the near future?

Here's a cleaner looking sed.  The first one was just so it would come
out looking pretty like the patch.

    sed -i 's/GTK_CFLAGS)/& $(X_CFLAGS)/' src/Makefile.in

Or, so the first parentheses are less likely to be missed

    sed -i 's/$(GTK_CFLAGS)/& $(X_CFLAGS)/' src/Makefile.in

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to