print-PLIST: remove emul/linux/proc entries before sorting. No need to

waste processing time on data we're going to discard.
	     Pointed out by Tomasz Luchowski <zuntum@netbsd.org>.
This commit is contained in:
hubertf 2001-08-24 10:50:03 +00:00
parent 7cb5dda995
commit 72a293c7e6

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.pkg.mk,v 1.802 2001/08/24 00:54:47 hubertf Exp $
# $NetBSD: bsd.pkg.mk,v 1.803 2001/08/24 10:50:03 hubertf Exp $
#
# This file is in the public domain.
#
@ -3115,8 +3115,8 @@ print-PLIST:
-e 's@${LOWER_VENDOR}@\$${LOWER_VENDOR}@' \
-e 's@${LOWER_OPSYS}@\$${LOWER_OPSYS}@' \
-e 's@${PKGNAME}@\$${PKGNAME}@' \
| ${SORT} \
| ${GREP} -v emul/linux/proc \
| ${SORT} \
| ${AWK} ' \
/^@/ { print $$0; next } \
/.*\/lib[^\/]+\.so\.[0-9]+\.[0-9]+\.[0-9]+$$/ { \