Date: Thu, 29 Jan 2015 15:12:54 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 197131] net-mgmt/netdot fails to build due to rrdtool path in var/Makefile Message-ID: <bug-197131-13-6O0SUDyMOA@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-197131-13@https.bugs.freebsd.org/bugzilla/> References: <bug-197131-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197131 --- Comment #3 from web@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197131-13-6O0SUDyMOA>