svn commit: r368136 - head/Mk/Uses

Bryan Drewery bdrewery at FreeBSD.org
Sat Sep 13 20:25:58 UTC 2014


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' |			\


More information about the svn-ports-head mailing list