diff options
author | beat <beat@FreeBSD.org> | 2012-09-01 22:21:57 +0000 |
---|---|---|
committer | beat <beat@FreeBSD.org> | 2012-09-01 22:21:57 +0000 |
commit | 821887a10951ead3a1a02b699f56a7d6f7bd9cc0 (patch) | |
tree | 2cbca79578586848ee36dd10eb293211ef8f9159 | |
parent | 01000fb99735f533a7fa3f8a92f8e213a7a35c04 (diff) | |
download | FreeBSD-ports-821887a10951ead3a1a02b699f56a7d6f7bd9cc0.zip FreeBSD-ports-821887a10951ead3a1a02b699f56a7d6f7bd9cc0.tar.gz |
- Partially back out r303381: readlink -f is not available on all
supported FreeBSD versions.
Reported by: gahr@, tota@
-rw-r--r-- | Mk/bsd.port.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 78a944cf..9bb03da 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -4499,7 +4499,7 @@ deinstall: check_name=`${ECHO_CMD} $${p} | ${SED} -e 's/-[^-]*$$//'`; \ if [ "$${check_name}" = "${PKGBASE}" ]; then \ prfx=`${PKG_INFO} -q -p $${p} 2> /dev/null | ${SED} -ne '1s|^@cwd ||p'`; \ - if [ "x`${READLINK_CMD} -f ${PREFIX}`" = "x$${prfx}" ]; then \ + if [ "x${PREFIX}" = "x$${prfx}" ]; then \ ${ECHO_MSG} "===> Deinstalling $${p}"; \ ${PKG_DELETE} -f $${p}; \ else \ |