Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2014 20:25:58 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368136 - head/Mk/Uses
Message-ID:  <201409132025.s8DKPwPG031452@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sat Sep 13 20:25:58 2014
New Revision: 368136
URL: http://svnweb.freebsd.org/changeset/ports/368136
QAT: https://qat.redports.org/buildarchive/r368136/

Log:
  Allow this to work on DragonFly which does not have the -f param for readlink(1)
  
  Tested by:	marino
  With hat:	portmgr

Modified:
  head/Mk/Uses/libtool.mk

Modified: head/Mk/Uses/libtool.mk
==============================================================================
--- head/Mk/Uses/libtool.mk	Sat Sep 13 20:07:59 2014	(r368135)
+++ head/Mk/Uses/libtool.mk	Sat Sep 13 20:25:58 2014	(r368136)
@@ -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' |			\



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