diff options
author | jlam <jlam> | 2004-01-06 09:27:40 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-01-06 09:27:40 +0000 |
commit | 9ac8b9d6d212e0936833bbe90b9f692279ae8a7a (patch) | |
tree | 5c95e81ca42c309a45f50a85411108c3da8d3a1c /mk/bsd.pkg.mk | |
parent | 02eb9d45f4d3dc31b9c42fb63f41d73b95164e27 (diff) | |
download | pkgsrc-9ac8b9d6d212e0936833bbe90b9f692279ae8a7a.tar.gz |
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 (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index de8c07f85b1..9d458df2e7f 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -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+= { print $$0; } # _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}. |