This PR handles @comment (%%PORTDOCS%% when NOPORTDOCS) entries in $PLIST_DIRS. Before @comment handling in bsd.port.mk (PR/147476) being committed, This PR fixes deinstallion when NOPORTDOCS is set. Generated with FreeBSD Port Tools 0.99 How-To-Repeat: ports/databases/pgsphere with NOPORTDOCS=yes. % cd /usr/ports/databases/pgsphere % make -V PLIST_DIRS %%DATADIR%%/contrib %%PORTDOCS%%%%DOCSDIR%%/contrib % make NOPORTDOCS=yes install deinstall ... ===> Deinstalling for databases/pgsphere ===> Deinstalling pgsphere-1.1.1 pkg_delete: file '/usr/local/@comment share/doc/postgresql/contrib' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/@comment share/doc/postgresql/contrib' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) % cat `make -V TMPPLIST` lib/postgresql/pg_sphere.so share/postgresql/contrib/pg_sphere.sql @comment share/doc/postgresql/contrib/README.pg_sphere @comment share/doc/postgresql/contrib/COPYRIGHT.pg_sphere @dirrm share/postgresql/contrib @dirrm @comment share/doc/postgresql/contrib @exec /sbin/ldconfig -m /usr/local/lib @unexec /sbin/ldconfig -R
Responsible Changed From-To: freebsd-ports-bugs->sylvio I'll take it.
State Changed From-To: open->closed Committed. Thanks!
sylvio 2010-06-30 11:39:47 UTC FreeBSD ports repository Modified files: databases/pgsphere Makefile Log: - Fix deinstallation when NOPORTDOCS is set. PR: ports/148135 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> (maintainer) Feature safe: yes Revision Changes Path 1.3 +7 -5 ports/databases/pgsphere/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"