aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2012-09-21 13:29:20 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2012-09-21 13:29:20 +0000
commit7a7575288a1969a558ec2b5fdd2734d1e4f3fd00 (patch)
treedbfd71d988673c867f405b64dc126c69ea656501 /Mk/bsd.port.mk
parentb20abed4c4d4575dc47559d52a5708336e36b3a6 (diff)
downloadports-7a7575288a1969a558ec2b5fdd2734d1e4f3fd00.tar.gz
ports-7a7575288a1969a558ec2b5fdd2734d1e4f3fd00.zip
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 686d3231cd63..b52f8c97a07f 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -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