svn commit: r304633 - head/Mk
Bryan Drewery
bdrewery at FreeBSD.org
Fri Sep 21 13:29:21 UTC 2012
Author: bdrewery
Date: Fri Sep 21 13:29:20 2012
New Revision: 304633
URL: http://svn.freebsd.org/changeset/ports/304633
Log:
- Revert ports/171672 patch to 'do-package' due
to reported problems with defining PKG_SUFX,
and leaving behind tmp files.
PR: ports/171672
Reported by: poyopoyo at puripuri.plala.or.jp
Approved by: portmgr (beat, implicit)
Modified:
head/Mk/bsd.port.mk
Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk Fri Sep 21 13:16:19 2012 (r304632)
+++ head/Mk/bsd.port.mk Fri Sep 21 13:29:20 2012 (r304633)
@@ -3905,15 +3905,11 @@ do-package: ${TMPPLIST}
fi; \
fi; \
fi
- @TMPPKGFILE=$$(mktemp -t pkg); \
- trap "${RM} -f $${TMPPKGFILE} $${TMPPKGFILE}${PKG_SUFX}; exit 1" 1 2 3 5 10 13 15; \
- if ${PKG_CMD} -b ${PKGNAME} $${TMPPKGFILE}; then \
- ${MV} -f $${TMPPKGFILE}${PKG_SUFX} ${PKGFILE}; \
+ @if ${PKG_CMD} -b ${PKGNAME} ${PKGFILE}; then \
if [ -d ${PACKAGES} ]; then \
cd ${.CURDIR} && eval ${MAKE} package-links; \
fi; \
else \
- ${RM} -f $${TMPPKGFILE}; \
cd ${.CURDIR} && eval ${MAKE} delete-package; \
exit 1; \
fi
More information about the svn-ports-head
mailing list