pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/XFree86-dirs Replace consecutive /'s in a path wi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/baf4be17f62e
branches:  trunk
changeset: 493178:baf4be17f62e
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Apr 28 22:55:45 2005 +0000

description:
Replace consecutive /'s in a path with a single /.

diffstat:

 misc/XFree86-dirs/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3a7d241280f0 -r baf4be17f62e misc/XFree86-dirs/Makefile
--- a/misc/XFree86-dirs/Makefile        Thu Apr 28 22:46:11 2005 +0000
+++ b/misc/XFree86-dirs/Makefile        Thu Apr 28 22:55:45 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/04/11 21:46:33 tv Exp $
+# $NetBSD: Makefile,v 1.7 2005/04/28 22:55:45 jlam Exp $
 #
 
 DISTNAME=      XFree86-dirs-1.1
@@ -24,7 +24,7 @@
 .include "dirs.mk"
 
 _SORTED!=      ${ECHO} ${XFREE86_DIRS} | ${TR} -s ' \t' '\n' | ${SORT}
-MAKE_DIRS+=    ${_SORTED:S/^/${X11ROOT}\//}
+MAKE_DIRS+=    ${_SORTED:S/^/${X11ROOT}\//:C/\/\/\/*/\//g}
 
 do-install:    # nothing
 



Home | Main Index | Thread Index | Old Index