aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-09-14 04:25:58 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-09-14 04:25:58 +0800
commitbfc6b67db689beb685cc911cb4b297b75eb4657f (patch)
treea1668fa201eab9a6296117a7d6b84ebda426a651 /Mk/Uses
parent1eb9523cff7a1de29b469f7d28c527f1df11c4df (diff)
downloadfreebsd-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.mk2
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' | \