svn commit: r368570 - head/Mk

Bryan Drewery bdrewery at FreeBSD.org
Fri Sep 19 15:44:55 UTC 2014


Author: bdrewery
Date: Fri Sep 19 15:44:55 2014
New Revision: 368570
URL: http://svnweb.freebsd.org/changeset/ports/368570
QAT: https://qat.redports.org/buildarchive/r368570/

Log:
  - Remove -a when copying package. r329130 broke this when PACKAGES was on
    NFS. It is not that important to preserve timestamp for the package, and
    other metadata seems to be fine otherwise. This whole thing needs to be
    reworked so PKGFILE is more respected (another regression of mine).
  
  With hat:	portmgr
  Reported by:	will
  Pointyhat to:	bdrewery

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Fri Sep 19 15:26:16 2014	(r368569)
+++ head/Mk/bsd.port.mk	Fri Sep 19 15:44:55 2014	(r368570)
@@ -3612,7 +3612,7 @@ do-package: ${TMPPLIST}
 	@if ${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_CREATE} ${PKG_CREATE_ARGS} -f ${PKG_SUFX:S/.//} -o ${WRKDIR}/pkg ${PKGNAME}; then \
 		if [ -d ${PKGREPOSITORY} -a -w ${PKGREPOSITORY} ]; then \
 			${LN} -f ${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX} ${PKGFILE} 2>/dev/null \
-				|| ${CP} -af ${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX} ${PKGFILE}; \
+				|| ${CP} -f ${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX} ${PKGFILE}; \
 			if [ "${PKGORIGIN}" = "ports-mgmt/pkg" -o "${PKGORIGIN}" = "ports-mgmt/pkg-devel" ]; then \
 				if [ ! -d ${PKGLATESTREPOSITORY} ]; then \
 					if ! ${MKDIR} ${PKGLATESTREPOSITORY}; then \


More information about the svn-ports-head mailing list