actions listed in _FORCE_POST_PATTERNS take place in pre-deinstall and not in post-deinstall from +MANIFEST: "pre-deinstall":"/usr/local/bin/update-desktop-database -q > /dev/null || /usr/bin/true\n/usr/local/bin/update-mime-database /usr/local/share/mime\n... % make -V_FORCE_POST_PATTERNS rmdir kldxref mkfontscale mkfontdir fc-cache fonts.dir fonts.scale gtk-update-icon-cache gio-querymodules gtk-query-immodules ldconfig load-octave-pkg update-desktop-database update-mime-database gdk-pixbuf-query-loaders catalog.ports glib-compile-schemas
Responsible Changed From-To: freebsd-ports-bugs->portmgr bsd.pkgng.mk is portmgr territory (via the GNATS Auto Assign Tool)
Testing shows that this only affects staged ports. do-package happens before fake-pkg on those. The attached patch fixes the problem
Author: antoine Date: Fri Jan 17 17:22:50 2014 New Revision: 340084 URL: http://svnweb.freebsd.org/changeset/ports/340084 QAT: https://qat.redports.org/buildarchive/r340084/ Log: Handle _FORCE_POST_PATTERNS for staged ports PR: ports/185369 Reviewed by: bapt With hat: portmgr Modified: head/Mk/bsd.pkgng.mk Modified: head/Mk/bsd.pkgng.mk ============================================================================== --- head/Mk/bsd.pkgng.mk Fri Jan 17 17:10:01 2014 (r340083) +++ head/Mk/bsd.pkgng.mk Fri Jan 17 17:22:50 2014 (r340084) @@ -246,7 +246,7 @@ do-package: ${TMPPLIST} @for cat in ${CATEGORIES}; do \ ${RM} -f ${PACKAGES}/$$cat/${PKGNAMEPREFIX}${PORTNAME}*${PKG_SUFX} ; \ done - @if ${PKG_CREATE} ${PKG_CREATE_ARGS} -o ${PKGREPOSITORY} ${PKGNAME}; then \ + @if ${SETENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_CREATE} ${PKG_CREATE_ARGS} -o ${PKGREPOSITORY} ${PKGNAME}; then \ if [ -n "${WITH_PKGNG}" ]; then \ if [ "${PKGORIGIN}" = "ports-mgmt/pkg" -o "${PKGORIGIN}" = "ports-mgmt/pkg-devel" ]; then \ if [ ! -d ${PKGLATESTREPOSITORY} ]; then \ _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Patch committed to head