svn commit: r331135 - head/devel/gdb

Alexey Dokuchaev danfe at FreeBSD.org
Mon Oct 21 13:23:16 UTC 2013


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


More information about the svn-ports-head mailing list