On 1/21/06, Randy McMurchy <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED]: ~/build > find mozilla -name "mozilla*ns*.pc.in" -exec cat 
> {} \;
>
> prefix=%prefix%
> exec_prefix=%exec_prefix%
> libdir=%libdir%
> includedir=%includedir%
>
<snip>
>
> Is there anything I can do to these source files so that the
> "firefox-1.5" isn't tagged onto the includedir and libdir?

What about just saying "If you have the system installed NSS/NSPR,
perform this sed" and hardcode them to /usr/lib and /usr/include?  I
just did this sed on the thunderbird mozilla-{nss,nspr}.pc.in files.

sed -i.orig \
    -e 's|libdir=.*|libdir=/usr/lib|' \
    -e 's|includedir=.*|includedir=/usr/include|' \
    build/unix/mozilla-{nss,nspr}.pc.in

If those are the correct values anyway.

One other thought.  Since in the patch you've added
/usr/lib/pkgconfig/nss.pc, etc., then maybe we should be suppressing
the installation of firefox-nss.pc and thunderbird-nss.pc.  Of course,
that could break packages that don't know about nss.pc.  What are your
thoughts, Randy?  I guess it doesn't hurt to have them since they're
pointing to the system libs, anyway.

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

Reply via email to