Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2014 15:44:55 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368570 - head/Mk
Message-ID:  <201409191544.s8JFitBe086668@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409191544.s8JFitBe086668>