Subject: graphics/netpbm/Makefile post-install looks wrong (current CVS)
To: None <tech-pkg@netbsd.org>
From: Will Partain <will.partain@verilab.com>
List: tech-pkg
Date: 04/11/2003 19:38:21
In the post-install make stanza ...

post-install:
	cd ${STAGEDIR} && 				\
	${MV} link/* lib && 				\
	... snip ...
	${GTAR} cf - * | ${GTAR} xpCf ${PREFIX} - &&	\
	${RM} -fr ${STAGEDIR}

... we 'cd' into a directory and then, at the end, 'rm' it.
Where I sit (on sparc-solaris8), I get:

   rm: Cannot remove any directory in the path of the current working directory
   /sys/.-pkgsrc/pkgobj/graphics/netpbm/work.hermione/staging

I'm unsure of the fix.  Keep up the good work,

Will