[Bug 197131] net-mgmt/netdot fails to build due to rrdtool path in var/Makefile
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jan 29 15:12:54 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197131
--- Comment #3 from web at umich.edu ---
Since the var/Makefile is executed, the "all" target will attempt to "run"
the command "rrdtool". While I agree "rrdtool" is normally built prior to
net-mgmt/netdot, there are two reasons why the build might fail:
1) root (the user) would have to "rehash" to discover the newly
installed "rrdtool" executable (I run root using tcsh shell)
and
2) even if for, say, /bin/sh users (root) the "rrdtool" executable
could be located, there is no guarantee that "rrdtool" would be
on the user's (root) path
It just seems safer to me to always provide a full path for "bare"
commands in Makefiles. I do this for /bin/rm, /bin/mv, /bin/ln, etc.
all the time in Makefiles that I create. This is safer than to
assume that "rm", "mv", and/or "ln" are the same as those at the
above paths.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list