diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-09-14 04:25:58 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-09-14 04:25:58 +0800 |
commit | bfc6b67db689beb685cc911cb4b297b75eb4657f (patch) | |
tree | a1668fa201eab9a6296117a7d6b84ebda426a651 /Mk/Uses | |
parent | 1eb9523cff7a1de29b469f7d28c527f1df11c4df (diff) | |
download | freebsd-ports-gnome-bfc6b67db689beb685cc911cb4b297b75eb4657f.tar.gz freebsd-ports-gnome-bfc6b67db689beb685cc911cb4b297b75eb4657f.tar.zst freebsd-ports-gnome-bfc6b67db689beb685cc911cb4b297b75eb4657f.zip |
Allow this to work on DragonFly which does not have the -f param for readlink(1)
Tested by: marino
With hat: portmgr
Diffstat (limited to 'Mk/Uses')
-rw-r--r-- | Mk/Uses/libtool.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/libtool.mk b/Mk/Uses/libtool.mk index cb5fdbf8faa4..33cef4c1e01a 100644 --- a/Mk/Uses/libtool.mk +++ b/Mk/Uses/libtool.mk @@ -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 \ *.la) ${ECHO_CMD} "{}" ;; esac' \; | \ ${XARGS} ${GREP} -l 'libtool library' | ${XARGS} ${RM} @${FIND} ${STAGEDIR} -type f -name '*.la' | \ |