aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorThomas Abthorpe <tabthorpe@FreeBSD.org>2012-01-09 15:31:27 +0000
committerThomas Abthorpe <tabthorpe@FreeBSD.org>2012-01-09 15:31:27 +0000
commit9535b93cb0449288e06a279da0d0612754dce3b4 (patch)
tree071305785866319253ed3952ab3c153369948d07 /Mk
parentb622f23e9976becd5a97a42153d3c7238a0af4de (diff)
downloadports-9535b93cb0449288e06a279da0d0612754dce3b4.tar.gz
ports-9535b93cb0449288e06a279da0d0612754dce3b4.zip
- Make pkg_add honour -p/-P
PR: ports/153573 Submitted by: ohauer Exp run by: pav
Notes
Notes: svn path=/head/; revision=288822
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.licenses.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/bsd.licenses.mk b/Mk/bsd.licenses.mk
index c232a3e76930..cd698f330847 100644
--- a/Mk/bsd.licenses.mk
+++ b/Mk/bsd.licenses.mk
@@ -751,7 +751,8 @@ install-license:
. endfor
.endif
# XXX @dirrmtry entry must be here (no way to do with PLIST_* vars)
- @${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST}
+# XXX Important, keep the whitespace behind "@cwd "!
+ @${ECHO_CMD} "@cwd " >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm ${_LICENSE_DIR_REL}" >> ${TMPPLIST}
@${ECHO_CMD} "@unexec rmdir %D/share/licenses 2>/dev/null || true" >> ${TMPPLIST}