summaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2012-09-01 22:21:57 +0000
committerbeat <beat@FreeBSD.org>2012-09-01 22:21:57 +0000
commit821887a10951ead3a1a02b699f56a7d6f7bd9cc0 (patch)
tree2cbca79578586848ee36dd10eb293211ef8f9159 /Mk/bsd.port.mk
parent01000fb99735f533a7fa3f8a92f8e213a7a35c04 (diff)
downloadFreeBSD-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@
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk2
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 \
OpenPOWER on IntegriCloud