Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Sep 2012 22:21:57 +0000 (UTC)
From:      Beat Gaetzi <beat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303524 - head/Mk
Message-ID:  <201209012221.q81MLve0088566@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: beat
Date: Sat Sep  1 22:21:57 2012
New Revision: 303524
URL: http://svn.freebsd.org/changeset/ports/303524

Log:
  - Partially back out r303381: readlink -f is not available on all
    supported FreeBSD versions.
  
  Reported by:	gahr@, tota@

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Sat Sep  1 21:25:50 2012	(r303523)
+++ head/Mk/bsd.port.mk	Sat Sep  1 22:21:57 2012	(r303524)
@@ -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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209012221.q81MLve0088566>