tech-pkg archive

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

Re: ERROR: cairo is not installed; can't buildlink files.



In article <20080615022138.GA18252%netbsd.org@localhost> David wrote:
: On Thu, Jun 12, 2008 at 10:38:27AM -0500, Jeremy C. Reed wrote:
:  > The error "ERROR: cairo is not installed; can't buildlink file" is 
:  > misleading. This should be fixed.

: Would this do it?

: -   ${ERROR_MSG} "${_pkg_} is not installed; can't buildlink files."; \
: +   ${ERROR_MSG} "${BUILDLINK_API_DEPENDS.${_pkg_}} is not installed; can't 
buildlink files."; \

: That way it would say "ERROR: cairo>=1.6.4 is not installed; can't
: buildlink file", which at least leads the reader in the right
: direction.

: I think.

  While it does not fix the real problem (the buildlink information
should be taken from the installed pacakge, not the buildlink3.mk
file), it greatly improves the error message.  Please go ahead and
commit it.

: (Are there cases where BUILDLINK_API_DEPENDS.${_pkg_} contains more
: than the one clause, such the message would no longer be appropriate?)

                                                yours,
                                                dillo


Home | Main Index | Thread Index | Old Index