Subject: Re: pkgsrc mozilla 1.3 - problem with cc
To: Lubos Vrbka <shnek@ncbr.chemi.muni.cz>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-help
Date: 04/08/2003 12:36:42
--gBdJBemW82xJqIAr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

On Tue, Apr 08, 2003 at 12:20:11PM +0200, Lubos Vrbka wrote:
>=20
> config is right, there's no /usr/X11R6/lib/mozilla. i just tried to
> create the directory there, but:

it's right but for wrong reason.  there is no need for
/usr/X11R6/lib/mozilla to exist at this point.

> -pixbuf-1.0  -I/usr/pkg/include -I/usr/X11R6/include
> -Wl,/usr/X11R6/lib/mozilla  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib
     ^^
     ||
> -Wl,-R/usr/pkg/lib -L/usr/pkg/lib conftest.c  -lintl 1>&5

the real problem is here.  for some reason it's losing ${RPATH_FLAG}.
make sure you have consistent and up-to-date pkgsrc tree first
(especially mk/ subtree).

it was changed in bsd.prefs.mk to export the right value into this
variable few days ago so you might be losing something there with
inconsistent tree.

----------------------------
revision 1.107
date: 2003/03/14 19:37:49;  author: jlam;  state: Exp;  lines: +5 -1
(1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
    Makefiles simply need to use this value often, for better or for
    worse.


regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>                   --
--                  <salo@silcnet.org>                   --

--gBdJBemW82xJqIAr
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)

iD8DBQE+kqY6iwjDDlS8cmMRAqyUAJ0TaF6FYCWxZT9xCL+k+4cIj1u1FACfWBRD
R0eNhU/zCOofeMa/1RowvAs=
=4z2X
-----END PGP SIGNATURE-----

--gBdJBemW82xJqIAr--