summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorwiz <wiz>2000-02-12 23:46:05 +0000
committerwiz <wiz>2000-02-12 23:46:05 +0000
commit9d79b0f43dc1d3c2221cd1908b87388f4edcfe7f (patch)
tree8c8411ad7ffc5de20e44fd24e3aa79a032af510d /mk
parentf47464ab417f43848f5b2c1ab229f1b9e8b3d1ef (diff)
downloadpkgsrc-9d79b0f43dc1d3c2221cd1908b87388f4edcfe7f.tar.gz
revert last change, and make sure the PLIST actually exists
where it is used (after discussion with hubertf)
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index c284bfab68e..eae2e5b10de 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.404 2000/02/12 22:00:04 wiz Exp $
+# $NetBSD: bsd.pkg.mk,v 1.405 2000/02/12 23:46:05 wiz Exp $
#
# This file is in the public domain.
#
@@ -1348,7 +1348,7 @@ _PORT_USE: .USE
${_PKG_SILENT}${_PKG_DEBUG}${TOUCH} ${TOUCH_FLAGS} ${WRKDIR}/.${.TARGET:S/^real-//}_done
.endif
-root-install: ${PLIST}
+root-install:
.if !defined(NO_PKG_REGISTER) && !defined(FORCE_PKG_REGISTER)
.if defined(CONFLICTS)
${_PKG_SILENT}${_PKG_DEBUG}${RM} -f ${WRKDIR}/.CONFLICTS
@@ -1417,6 +1417,7 @@ root-install: ${PLIST}
install-info --remove --info-dir=${PREFIX}/info ${PREFIX}/info/${f}; \
install-info --info-dir=${PREFIX}/info ${PREFIX}/info/${f}
.endfor
+ ${_PKG_SILENT}${_PKG_DEBUG}cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} ${PLIST}
${_PKG_SILENT}(${_PKG_DEBUG}newmanpages=`${EGREP} -h \
'^([^@/]*/)*man/([^/]*/)?(man[1-9ln]/.*\.[1-9ln]|cat[1-9ln]/.*\.0)(\.gz)?$$' \
${PLIST} 2>/dev/null || ${TRUE}`; \