svn commit: r340996 - in head/lang: python python2 python3

Marcus von Appen mva at FreeBSD.org
Sat Jan 25 09:15:56 UTC 2014


On, Sat Jan 25, 2014, Alexey Dokuchaev wrote:

> On Sat, Jan 25, 2014 at 08:46:11AM +0000, Marcus von Appen wrote:
> > New Revision: 340996
> > URL: http://svnweb.freebsd.org/changeset/ports/340996
> > QAT: https://qat.redports.org/buildarchive/r340996/
> >
> > -	${LN} -sf ${PREFIX}/bin/${file}${PYTHON_MAJOR_VER} ${PREFIX}/bin/${file}
> > +	${LN} -sf ${PREFIX}/bin/${file}${PYTHON_MAJOR_VER} \
> > +		${STAGEDIR}${PREFIX}/bin/${file}
> > [ ... lots of similar changes skipped ... ]
>
> Per our own wiki.freebsd.org/ports/StageDir:
>
>   "When creating a symlink, prepend ${STAGEDIR} to the target path only (and
>    generally try to avoid using absolute paths in source). [...]
>
>    Note that source of ${PREFIX}/lib/libfoo.so.42, while seemingly okay,
>    could be in fact incorrect, since absolute path can potentially point to
>    a wrong location, e.g. when remote filesystem (with installed package)
>    is mounted via NFS under non-root mount point. Relative paths are less
>    fragile (and often much shorter)."

Fixed, thanks!
Marcus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20140125/e18872cd/attachment.sig>


More information about the svn-ports-all mailing list