diff options
author | grant <grant@pkgsrc.org> | 2003-04-15 19:51:21 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-04-15 19:51:21 +0000 |
commit | 89cd178cf1f3af548425dcd855af449587d958ea (patch) | |
tree | b01c0200d440d51349a40ad57da71f6130c791df /mk | |
parent | d07d1b5eb26192ef97572ae02c427250b4cd69e9 (diff) | |
download | pkgsrc-89cd178cf1f3af548425dcd855af449587d958ea.tar.gz |
only add ${LOCALPATCHES}/${PKGPATH}/* to the list of patches to apply
if LOCALPATCHES is defined.
fixes problem on Solaris w/ automounter handling /net, where any package
from the 'net' category would cause a blocking read on /net/pkgname
looking for 'pkgname' as a host exporting NFS file systems (saves a
few useless stat() calls, too).
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index b0d052d48af..ffd379aeb11 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1167 2003/04/15 05:29:45 grant Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1168 2003/04/15 19:51:21 grant Exp $ # # This file is in the public domain. # @@ -1749,8 +1749,10 @@ do-extract: ${WRKDIR} # hierarchy as the pkgsrc tree, i.e. local patches for www/apache # would be found as ${LOCALPATCHES}/www/apache/*. # +.if defined(LOCALPATCHES) _DFLT_LOCALPATCHFILES= ${LOCALPATCHES}/${PKGPATH}/* _LOCALPATCHFILES= ${_DFLT_LOCALPATCHFILES} +.endif .if !target(do-patch) do-patch: uptodate-digest |