textproc/libe-book00 and rm -f /usr/local/bin

Baptiste Daroussin bapt at FreeBSD.org
Sun Jun 15 13:40:18 UTC 2014


On Fri, Jun 13, 2014 at 10:13:34AM +0300, Artyom Mirgorodskiy wrote:
> post-install:
>     ${RM} -f ${STAGEDIR}${PREFIX}/bin/*
> 
> 
> result:
> gmake[7]: Выход из каталога `/usr/ports/textproc/libe-book00/work/libe-book-0.0.3'
> gmake[6]: Выход из каталога `/usr/ports/textproc/libe-book00/work/libe-book-0.0.3'
> gmake[5]: Выход из каталога `/usr/ports/textproc/libe-book00/work/libe-book-0.0.3'
> gmake[4]: Выход из каталога `/usr/ports/textproc/libe-book00/work/libe-book-0.0.3'
> /bin/rm -f /usr/local/bin/*
> rm: /usr/local/bin/db42: is a directory
> rm: /usr/local/bin/db48: is a directory
> rm: /usr/local/bin/org: is a directory
> 
> Thank you for my night :)

Prefixed by STAGEDIR, so except if you are doing something which is totally
unsupported (like enforcing no stage) this cannot happen.

if you are enforcing NO_STAGE then your setup is already somehow broken but you
do not know it.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140615/8c8c2d43/attachment.sig>


More information about the freebsd-ports mailing list