svn commit: r399022 - head/Mk

Baptiste Daroussin bapt at FreeBSD.org
Sat Oct 10 21:19:44 UTC 2015


Author: bapt
Date: Sat Oct 10 21:19:43 2015
New Revision: 399022
URL: https://svnweb.freebsd.org/changeset/ports/399022

Log:
  Avoid a useless call to dirname

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Sat Oct 10 21:04:44 2015	(r399021)
+++ head/Mk/bsd.port.mk	Sat Oct 10 21:19:43 2015	(r399022)
@@ -4829,7 +4829,7 @@ ${i:S/-//:tu}=	${WRKDIR}/${SUB_FILES:M${
 .if !target(generate-plist)
 generate-plist: ${WRKDIR}
 	@${ECHO_MSG} "===>   Generating temporary packing list"
-	@${MKDIR} `${DIRNAME} ${TMPPLIST}`
+	@${MKDIR} ${TMPPLIST:H}
 	@if [ ! -f ${DESCR} ]; then ${ECHO_MSG} "** Missing pkg-descr for ${PKGNAME}."; exit 1; fi
 	@>${TMPPLIST}
 	@for file in ${PLIST_FILES}; do \


More information about the svn-ports-all mailing list