pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/devel/nspr



Am 16.01.2010 13:38, schrieb Tobias Nygren:
Module Name:    pkgsrc
Committed By:   tnn
Date:           Sat Jan 16 13:38:08 UTC 2010

Modified Files:
        pkgsrc/devel/nspr: buildlink3.mk

Log Message:
Remove some buildlink magic which causes trouble for firefox.
Dependants should use pkg-config to find the proper compiler flags.


Hi Tobias,

I have a problem building mail/evolution-exchange after this commit (and the equivalent one to devel/nss) removed the BUILDLINK_LIBDIRS lib/nspr and lib/nss, respectively.

You say that dependents should find the correct switches using pkg-config. Evidently evolution-exchange doesn't do this, I haven't investigated why. It seems to rely on libtool picking the right switches from the .la files.

The reason this doesn't work is that all -L switches get deleted from the dependency_libs lines in the .la files in the .buildlink tree by bsd.buildlink3.mk. So the .la files that end up in the .buildlink tree don't actually have the required -L switches in them.

I don't know how to proceed from here -- if I re-add the BUILDLINK_LIBDIRS lines to the buildlink3.mk files in devel/nspr and devel/nss, I can build evolution-exchange, but your commit messages imply that's not the right fix.

Grateful for any pointers,

Joachim


Home | Main Index | Thread Index | Old Index