summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf>2003-04-14 23:18:40 +0000
committerhubertf <hubertf>2003-04-14 23:18:40 +0000
commit98291db208c592f87b346850a7ed6234beaeb4c5 (patch)
tree3e1b56bc2c744a3fbbf28b62edb824a347d5947f /mk
parent79850d40059e669b2993535919499ec79f32e756 (diff)
downloadpkgsrc-98291db208c592f87b346850a7ed6234beaeb4c5.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')
-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}/./@@' \