Subject: Trouble with BUILDLINK_PASSTHRU_{RPATH}DIRS.
To: None <tech-pkg@NetBSD.org>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: tech-pkg
Date: 03/20/2004 23:42:09
--Signature=_Sat__20_Mar_2004_23_42_09_+0100_HyfZPLFnGAs_RME4
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Hi,
I'm trying to make some changes to XFree86-libs, and I want to remove
from its Makefile USE_X11, because I think it's better to disable it.
Now I have some questions, I added to XFree86-libs/Makefile something like
that:
BUILDLINK_PREFIX.XFree86-libs= ${X11ROOT_PREFIX}
BUILDLINK_PASSTHRU_DIRS.XFree86-libs+= lib
BUILDLINK_PASSTHRU_RPATHDIRS.XFree86-libs+= lib
X11ROOT_PREFIX is X11R6, because all packages will be installed there.
But the build failed, so I tried with BUILDLINK_PASSTHRU_{RPATH}DIRS, without
adding <pkg> to it, and I got same trouble...
The problem is that the libraries are not properly linked, e.g. when
PKG_PHASE=install:
/usr/pkg/X11R6/lib/libxkbui.so: -lxkbfile.1 => not found
-lX11.6 => not found
/usr/pkg/X11R6/lib/libxkbui.so.1: -lxkbfile.1 => not found
-lX11.6 => not found
So, do you know what am I doing wrong? all works ok when using USE_X11, because
X11BASE is added to BUILDLINK_PASSTHRU_{RPATH}DIRS. ( I had X11BASE in
/etc/mk.conf pointing to the right directory).
Thanks,
--
Juan RP <juan@xtraeme.unixbsd.org>
--Signature=_Sat__20_Mar_2004_23_42_09_+0100_HyfZPLFnGAs_RME4
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAXMjCypkLYVDran0RAkSlAKCGOxiEgch0jDbUsL+kUCW0tg1WNgCfWlZR
HXbRhvnwG9atsPz/SIRauhA=
=IZFI
-----END PGP SIGNATURE-----
--Signature=_Sat__20_Mar_2004_23_42_09_+0100_HyfZPLFnGAs_RME4--