On Tue, Feb 24, 2009 at 6:08 AM, Andriy Gapon <a...@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).

Scot.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to