graphics/graphviz: stray symlink on install?

Scot Hetzel swhetzel at gmail.com
Wed Feb 25 00:27:42 PST 2009


On Tue, Feb 24, 2009 at 2:00 PM, Scot Hetzel <swhetzel at gmail.com> wrote:
> On Tue, Feb 24, 2009 at 6:08 AM, Andriy Gapon <avg at icyb.net.ua> wrote:
>>
>> It seems that each time I install graphviz there appears a fresh symlink
>> in $HOME of a user from which I su -m to root:
>>
>> gv.so -> /usr/local/lib/graphviz/lua/libgv_lua.so
>>
>
> I also noticed this stay symbolic link.
>
> I recently used script to capture the output of the rebuild of this
> port, and found this:
>
> gmake[4]: Entering directory
> `/usr/ports/graphics/graphviz/work/graphviz-2.20.3/tclpkg'
> mkdir -p ;
> usage: mkdir [-pv] [-m mode] directory_name ...
> gmake[4]: [install-data-hook] Error 64 (ignored)
> if test -w ; then \
>                (cd ; \
>                        ln -s -f
> /usr/local/lib/graphviz/lua/libgv_lua.so gv.so;) \
>        else \
>                echo "Warning:  is not writable."; \
>                echo "Skipping system installation of lua binding."; \
>        fi
>
> Without looking at the Makefile, it looks like the Makefile in tclpkg
> is trying to create a directory, but has an empty variable, this empty
> variable is then use with the cd command, which causes the cd command
> to change to the users home directory (i.e. /root).
>
Found the problem.  The configure script wasn't defining
LUA_INSTALL_DIR.  Submitted PR 132089 with a possible fix.

http://www.freebsd.org/cgi/query-pr.cgi?pr=132089


More information about the freebsd-ports mailing list