svn commit: r410879 - head/Mk
Mathieu Arnold
mat at FreeBSD.org
Sat Mar 12 12:59:40 UTC 2016
Author: mat
Date: Sat Mar 12 12:59:38 2016
New Revision: 410879
URL: https://svnweb.freebsd.org/changeset/ports/410879
Log:
Once upon a time, when you ran make package and the ${PACKAGES}
directory did not exist, you ended up with the package in the port
directory. Make that true again.
PR: 207895
Sponsored by: Absolight
Modified:
head/Mk/bsd.port.mk
Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk Sat Mar 12 12:56:28 2016 (r410878)
+++ head/Mk/bsd.port.mk Sat Mar 12 12:59:38 2016 (r410879)
@@ -3520,6 +3520,9 @@ do-package: ${TMPPLIST}
fi ; \
${LN} -sf ../${PKGREPOSITORYSUBDIR}/${PKGNAME}${PKG_SUFX} ${PKGLATESTFILE} ; \
fi; \
+ elif [ ! -d ${PACKAGES} ]; then \
+ ${LN} -f ${WRKDIR_PKGFILE} ${PKGFILE} 2>/dev/null \
+ || ${CP} -f ${WRKDIR_PKGFILE} ${PKGFILE}; \
fi; \
else \
cd ${.CURDIR} && eval ${MAKE} delete-package >/dev/null; \
More information about the svn-ports-all
mailing list