tech-pkg archive

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

Re: cmake files in pkgsrc/mk with hard-coded /usr/pkg paths

On Wed, Sep 14, 2011 at 01:07:20PM -0600, Brook Milligan wrote:
> Recently [1], I identified some files used by cmake that included
> hard-coded paths to /usr/pkg as opposed to ${LOCALBASE}.  I have
> committed the fix for the first group of these files: those that are
> installed by the devel/cmake package itself.
> I would now like to fix the file that is installed from within mk:
> mk/cmake-Modules/Platform/UnixPaths.cmake.  To do this, I propose the
> following patch:

In principle, the patch looks fine.
I wonder though if we shouldn't go further and let cmake only look in
the buildlink directory INSTEAD of /usr/pkg and /usr/local both?

Home | Main Index | Thread Index | Old Index