Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2013 13:23:16 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Danilo Egea Gondolfo <danilo@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r331135 - head/devel/gdb
Message-ID:  <20131021132316.GA5649@FreeBSD.org>
In-Reply-To: <201310211305.r9LD5qUw093341@svn.freebsd.org>
References:  <201310211305.r9LD5qUw093341@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 21, 2013 at 01:05:52PM +0000, Danilo Egea Gondolfo wrote:
> New Revision: 331135
> URL: http://svnweb.freebsd.org/changeset/ports/331135
> 
> Log:
>   - Fix symlink
>   
>  .if ${PORT_OPTIONS:MTUI}
> -	${LN} -sf ${STAGEDIR}${PREFIX}/bin/gdb${VER} ${STAGEDIR}${PREFIX}/bin/gdbtui${VER}
> +	${LN} -sf ${PREFIX}/bin/gdb${VER} ${STAGEDIR}${PREFIX}/bin/gdbtui${VER}

Any reason to include full absolute path?  What if I would mount remote box
via NFS; symlink will point to *my* $prefix, which is probably not good.

>  .endif
>  .if ${PORT_OPTIONS:MGDB_LINK}
>  	${LN} -sf gdb${VER} ${STAGEDIR}${PREFIX}/bin/gdb

This symlink is correct.

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131021132316.GA5649>