diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-10-08 05:52:17 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-10-08 05:52:17 +0000 |
commit | fe7bca82f0e6a89b81bc68a77218f7147b032c3e (patch) | |
tree | f849ae9dd08f03e201ff875b4cbceaae7eebca75 /Mk | |
parent | d833481603a9db98b81de0ef412731ef9e6aff7e (diff) | |
download | freebsd-ports-fe7bca82f0e6a89b81bc68a77218f7147b032c3e.zip |
Make info files absolute patch in plist
That makes them more @cwd safe while simplifying the infra
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index f0314fce8717..da6e50e9436c 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -5227,20 +5227,9 @@ add-plist-buildinfo: .if !target(add-plist-info) .if defined(INFO) add-plist-info: - @if ${EGREP} -qe '^@cw?d' ${TMPPLIST} && \ - [ "`${SED} -En -e '/^@cw?d[ ]*/s,,,p' ${TMPPLIST} | ${TAIL} -n 1`" != "${PREFIX}" ]; then \ - ${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST}; \ - fi -# Process GNU INFO files at package install/deinstall time .for i in ${INFO} - @${LS} ${STAGEDIR}${PREFIX}/${INFO_PATH}/$i.info* | ${SED} -e s:${STAGEDIR}${PREFIX}/:@info\ :g >> ${TMPPLIST} + @${LS} ${STAGEDIR}${PREFIX}/${INFO_PATH}/$i.info* | ${SED} -e s:${STAGEDIR}:@info\ :g >> ${TMPPLIST} .endfor -.if (${PREFIX} != "/usr") - @${ECHO_CMD} "@unexec indexinfo %D/${INFO_PATH}" >> ${TMPPLIST} -.if (${PREFIX} != ${LOCALBASE} && ${PREFIX} != ${LINUXBASE}) - @${ECHO_CMD} "@dir ${INFO_PATH}" >> ${TMPPLIST} -.endif -.endif .endif .endif |