svn commit: r368136 - head/Mk/Uses
Tijl Coosemans
tijl at FreeBSD.org
Sat Sep 13 21:12:29 UTC 2014
On Sat, 13 Sep 2014 20:25:58 +0000 (UTC) Bryan Drewery <bdrewery at FreeBSD.org> wrote:
> Author: bdrewery
> Date: Sat Sep 13 20:25:58 2014
> New Revision: 368136
> URL: http://svnweb.freebsd.org/changeset/ports/368136
> QAT: https://qat.redports.org/buildarchive/r368136/
>
> Log:
> Allow this to work on DragonFly which does not have the -f param for readlink(1)
>
> Tested by: marino
> With hat: portmgr
>
> Modified:
> head/Mk/Uses/libtool.mk
>
> Modified: head/Mk/Uses/libtool.mk
> ==============================================================================
> --- head/Mk/Uses/libtool.mk Sat Sep 13 20:07:59 2014 (r368135)
> +++ head/Mk/Uses/libtool.mk Sat Sep 13 20:25:58 2014 (r368136)
> @@ -77,7 +77,7 @@ patch-lafiles:
> ${XARGS} ${SED} -i '' -e "/dependency_libs=/s/=.*/=''/"
> .else
> @${FIND} ${STAGEDIR} -type l -exec ${SH} -c \
> - 'case `${READLINK_CMD} -f "{}"` in \
> + 'case `${REALPATH} "{}"` in \
Can you add the -q flag, because realpath prints an error message if
it cannot resolve a link.
More information about the svn-ports-all
mailing list