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 03:40:18PM -0600, Brook Milligan wrote:
> To make this suggestion concrete, I think you are suggesting removing
> the references to /usr/local/bin and /usr/pkg/bin (and perhaps
> /usr/pkg as well?) and replacing them with some magic reference to the
> buildlink directories. Is that the case?
Yes.
> I am happy to remove the reference to /usr/local altogether as that
> seems to avoid another complication, but I have no idea how to point
> cmake to the buildlink directories.
I think just using ${BUILDLINK_DIR} where you used LOCALBASE should do
the trick, but I haven't tried it.
Thomas
Home |
Main Index |
Thread Index |
Old Index