pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Reduce the number of lines emitted by th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cfed609ab931
branches:  trunk
changeset: 465830:cfed609ab931
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Jan 06 18:43:10 2004 +0000

description:
Reduce the number of lines emitted by the I and L rules.

diffstat:

 mk/buildlink3/gen-transform.sh |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r c61824bc0d50 -r cfed609ab931 mk/buildlink3/gen-transform.sh
--- a/mk/buildlink3/gen-transform.sh    Tue Jan 06 18:10:46 2004 +0000
+++ b/mk/buildlink3/gen-transform.sh    Tue Jan 06 18:43:10 2004 +0000
@@ -1,6 +1,6 @@
 #!@BUILDLINK_SHELL@
 #
-# $NetBSD: gen-transform.sh,v 1.5 2004/01/06 18:10:06 jlam Exp $
+# $NetBSD: gen-transform.sh,v 1.6 2004/01/06 18:43:10 jlam Exp $
 
 transform="@_BLNK_TRANSFORM_SEDFILE@"
 untransform="@_BLNK_UNTRANSFORM_SEDFILE@"
@@ -78,16 +78,14 @@
                case "$action" in
                transform)
                        @CAT@ >> $sedfile << EOF
-s|-$1$2\([     \`"':;]\)$|-$1$3\1|g
+s|-$1$2\([/    \`"':;]\)$|-$1$3\1|g
 s|-$1$2$|-$1$3|g
-s|-$1$2/|-$1$3/|g
 EOF
                        ;;
                untransform)
                        @CAT@ >> $sedfile << EOF
-s|-$1$3\([     \`"':;]\)$|-$1$2\1|g
+s|-$1$3\([/    \`"':;]\)$|-$1$2\1|g
 s|-$1$3$|-$1$2|g
-s|-$1$3/|-$1$2/|g
 EOF
                        ;;
                esac



Home | Main Index | Thread Index | Old Index