pkgsrc-Bugs archive

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

Re: pkg/24575: audio/xmms configure is not compatible with pkgsrc



On Sun, Mar 20, 2005 at 11:14:09AM +0100, Julio M. Merino Vidal wrote:
> On Sun, 2005-03-20 at 05:51 +0000, Johnny C. Lam wrote:
> > 
> > I think the packages that supply a *-config script/binary file should
> > be taught to symlink that file into ${BUILDLINK_DIR}/bin in their
> > buildlink3.mk files.  That will probably solve these types of problems
> > since ${BUILDLINK_DIR}/bin is prepended to the PATH as part of the
> > configure and build phases.
> 
> FWIW, I commited a fix not so long ago and changed the path in pkgsrc to
> have ${LOCALBASE}/bin before anything else (but after the buildlink and
> wrapper directories), so that this kind of failure couldn't happen.
> AFAICT, it worked fine, and multiple packages were solved according to
> minskim@'s Linux bulk builds (e.g., ispell-spanish, the package I was
> trying to fix).

I think this won't help in the case of something like heimdal, where
krb5-config is installed by both the base system and by pkgsrc.  In
that case, you would need more control over which krb5-config is
detected based on the PREFER_* settings.  I think the only way to be
sure is to symlink the *-config scripts into ${BUILDLINK_DIR}/bin.

        Cheers,

        -- Johnny Lam <jlam%NetBSD.org@localhost>



Home | Main Index | Thread Index | Old Index