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.



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.

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

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index