tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: fixing bugs in packages



And _package_clean target. package-clean is already used for different purpose.

Index: mk/package/bsd.package.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/package/bsd.package.mk,v
retrieving revision 1.14
diff -u -r1.14 bsd.package.mk
--- mk/package/bsd.package.mk   8 Mar 2010 13:51:24 -0000       1.14
+++ mk/package/bsd.package.mk   16 May 2012 16:06:45 -0000
@@ -40,6 +40,16 @@
        ${RUN} ${RM} -f ${PKGFILE}

 ######################################################################
+### _package-clean (PRIVATE)
+######################################################################
+### _package-clean removes the state files for the "_package-clean" and
+### later phases so that the "test" target may be re-invoked.
+###
+.PHONY: _package-clean
+_package-clean: package-eat-cookie plist-clean check-files-clean
+       ${RUN} ${RM} -rf ${DESTDIR}
+
+######################################################################
 ### package-eat-cookie (PRIVATE)
 ######################################################################
 ### package-eat-cookie removes the state files associated with the "package"


Home | Main Index | Thread Index | Old Index