pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Make print-PLIST work if there are no *.la files.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ee29e26bb963
branches: trunk
changeset: 481035:ee29e26bb963
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Sep 24 15:00:10 2004 +0000
description:
Make print-PLIST work if there are no *.la files.
diffstat:
mk/bsd.pkg.mk | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 30f472cfc0f9 -r ee29e26bb963 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Fri Sep 24 14:08:36 2004 +0000
+++ b/mk/bsd.pkg.mk Fri Sep 24 15:00:10 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1499 2004/09/21 15:01:38 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1500 2004/09/24 15:00:10 jlam Exp $
#
# This file is in the public domain.
#
@@ -4509,7 +4509,11 @@
esac; \
${ECHO} "$$file"; \
done > $$fileslist; \
- ${GREP} -hvxF "`${SORT} -u $$libslist`" "$$fileslist"; \
+ if ${TEST} -f "$$libslist"; then \
+ ${GREP} -hvxF "`${SORT} -u $$libslist`" "$$fileslist"; \
+ else \
+ ${CAT} "$$fileslist"; \
+ fi; \
${RM} -f "$$fileslist" "$$libslist"; \
)
.else
Home |
Main Index |
Thread Index |
Old Index