[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
Tue Jan 27 17:37:12 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197131

            Bug ID: 197131
           Summary: net-mgmt/netdot fails to build due to rrdtool path in
                    var/Makefile
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: web at umich.edu
                CC: nick at foobar.org
                CC: nick at foobar.org
             Flags: maintainer-feedback?(nick at foobar.org)

In net-mgmt/netdot there is a Makefile in the work/netdot-1.0.7/var/
subdirectory.
In this Makefile, as the first command inside the "if" statement in the "all"
target
is the "rrdtool" command.  There are a couple of things wrong with this:

1) rrdtool may or may not be available on the system when attempting to build
netdot

2) even if rrdtool is available, it may not be on "root"'s path

This can be fixed by giving a prefix make variable such as ${PREFIX} so that
the
real command might translate to /usr/local/bin/rrdtool or wherever ${PREFIX}
might
point.  I was unable to build netdot v1.0.7 from this port (even though rrdtool
had been build previously as a dependency) after modifying this line:

   rrdtool ... ... ...

to

   /usr/local/bin/rrdtool ... ... ...

after which the port finished properly and successfully.  Thanks in advance.

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Maintainer CC'd

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list