summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2003-04-14 23:18:40 +0000
committerhubertf <hubertf@pkgsrc.org>2003-04-14 23:18:40 +0000
commitf8aad4bb28c5b0917d2ef1aa20d81a178bdb77fb (patch)
tree3e1b56bc2c744a3fbbf28b62edb824a347d5947f /mk/bsd.pkg.mk
parent6cddb071df8d308d33a45b62bcbc1a25b37b9a32 (diff)
downloadpkgsrc-f8aad4bb28c5b0917d2ef1aa20d81a178bdb77fb.tar.gz
Don't descend into filesystems /usr/pkg/emul/linux/proc etc. as this
will lead to wrong PLISTs. Works around PR kern/21187.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 017d311c2df..39167323794 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1164 2003/04/10 20:32:28 grant Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1165 2003/04/14 23:18:40 hubertf Exp $
#
# This file is in the public domain.
#
@@ -3951,7 +3951,7 @@ print-PLIST:
"a.out") genlinks=1 ;; \
*) genlinks=0 ;; \
esac; \
- ${FIND} ${PREFIX}/. -newer ${EXTRACT_COOKIE} \! -type d \
+ ${FIND} ${PREFIX}/. -xdev -newer ${EXTRACT_COOKIE} \! -type d \
| ( ${GREP} -v emul/linux/proc || ${TRUE} ) \
| ${SORT} \
| ${SED} \
@@ -3987,7 +3987,7 @@ print-PLIST:
} \
}'
${_PKG_SILENT}${_PKG_DEBUG}\
- for i in `${FIND} ${PREFIX}/. -newer ${EXTRACT_COOKIE} -type d \
+ for i in `${FIND} ${PREFIX}/. -xdev -newer ${EXTRACT_COOKIE} -type d \
| ( ${GREP} -v emul/linux/proc || ${TRUE} ) \
| ${SED} \
-e 's@${PREFIX}/./@@' \