pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk PERL5_GENERATE_PLIST is defined properly in perl5/m...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c56c8d638582
branches: trunk
changeset: 465809:c56c8d638582
user: jlam <jlam%pkgsrc.org@localhost>
date: Tue Jan 06 09:27:40 2004 +0000
description:
PERL5_GENERATE_PLIST is defined properly in perl5/module.mk, and all
perl5 modules have been converted to use module.mk, so nuke the duplicate
code in bsd.pkg.mk.
diffstat:
mk/bsd.pkg.mk | 21 +--------------------
1 files changed, 1 insertions(+), 20 deletions(-)
diffs (35 lines):
diff -r 774c72c04f8a -r c56c8d638582 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Tue Jan 06 09:24:14 2004 +0000
+++ b/mk/bsd.pkg.mk Tue Jan 06 09:27:40 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1335 2004/01/06 09:24:14 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1336 2004/01/06 09:27:40 jlam Exp $
#
# This file is in the public domain.
#
@@ -4935,25 +4935,6 @@
#
_PLIST_AWK_SCRIPT+= '
-.if !defined(PERL5_GENERATE_PLIST)
-. if defined(PERL5_PACKLIST)
-PERL5_COMMENT= ( ${ECHO} "@comment The following lines are automatically generated"; \
- ${ECHO} "@comment from the installed .packlist files." )
-PERL5_PACKLIST_FILES= ( ${CAT} ${PERL5_PACKLIST}; for f in ${PERL5_PACKLIST}; do [ ! -f $$f ] || ${ECHO} $$f; done ) \
- | ${SED} -e "s,[ ].*,," -e "s,/\./,/,g" -e "s,/*${PREFIX}/,," \
- | ${SORT} -u
-PERL5_PACKLIST_DIRS= ( ${CAT} ${PERL5_PACKLIST}; for f in ${PERL5_PACKLIST}; do [ ! -f $$f ] || ${ECHO} $$f; done ) \
- | ${SED} -e "s,[ ].*,," -e "s,/\./,/,g" -e "s,/*${PREFIX}/,," \
- -e "s,^,@unexec \${RMDIR} -p %D/," \
- -e "s,/[^/]*$$, 2>/dev/null || \${TRUE}," \
- | ${SORT} -ur
-PERL5_GENERATE_PLIST= ${PERL5_COMMENT}; \
- ${PERL5_PACKLIST_FILES}; \
- ${PERL5_PACKLIST_DIRS}
-GENERATE_PLIST+= ${PERL5_GENERATE_PLIST};
-. endif
-.endif
-
# GENERATE_PLIST is a sequence of commands, terminating in a semicolon,
# that outputs contents for a PLIST to stdout and is appended to
# the contents of ${_PLIST_SRC}.
Home |
Main Index |
Thread Index |
Old Index