aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2012-09-21 21:29:20 +0800
committerbdrewery <bdrewery@FreeBSD.org>2012-09-21 21:29:20 +0800
commitff05725faca03d35231485fba2679a496b64954b (patch)
treedbfd71d988673c867f405b64dc126c69ea656501 /Mk
parentc761f37c8c63264ff6971cfddd86811c926476ba (diff)
downloadfreebsd-ports-gnome-ff05725faca03d35231485fba2679a496b64954b.tar.gz
freebsd-ports-gnome-ff05725faca03d35231485fba2679a496b64954b.tar.zst
freebsd-ports-gnome-ff05725faca03d35231485fba2679a496b64954b.zip
- 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@puripuri.plala.or.jp Approved by: portmgr (beat, implicit)
Diffstat (limited to '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