diff options
author | agc <agc@pkgsrc.org> | 1998-08-28 11:13:23 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1998-08-28 11:13:23 +0000 |
commit | 1d40454b64cbe734a5b2faccfb3524973cf71f77 (patch) | |
tree | db019d53ddcbc56f219550cb75b0e35ac58faa50 /mk | |
parent | d355bffde4be0f420c4bfcc93936baa799c9c8d4 (diff) | |
download | pkgsrc-1d40454b64cbe734a5b2faccfb3524973cf71f77.tar.gz |
Re-introduce NO_PKG_REGISTER. We now have a use for it.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 8bf6871bb02..5d3e15639d3 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.151 1998/08/27 14:56:02 agc Exp $ +# $NetBSD: bsd.pkg.mk,v 1.152 1998/08/28 11:13:23 agc Exp $ # # This file is in the public domain. # @@ -1017,7 +1017,7 @@ _PORT_USE: .USE @cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} build-depends misc-depends .endif .if make(real-install) -.if !defined(FORCE_PKG_REGISTER) +.if !defined(NO_PKG_REGISTER) && !defined(FORCE_PKG_REGISTER) .if defined(CONFLICTS) @${RM} -f ${WRKDIR}/.CONFLICTS .for conflict in ${CONFLICTS} @@ -1174,7 +1174,9 @@ _PORT_USE: .USE @${CAT} ${PKGDIR}/MESSAGE @${ECHO_MSG} "" .endif +.if !defined(NO_PKG_REGISTER) @cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} fake-pkg +.endif # !NO_PKG_REGISTER .endif .if !make(real-fetch) \ && (!make(real-patch) || !defined(PATCH_CHECK_ONLY)) \ |