pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink2 Escape any ':' characters when using ${F...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/97613627558f
branches:  trunk
changeset: 464557:97613627558f
user:      erh <erh%pkgsrc.org@localhost>
date:      Fri Dec 12 21:37:55 2003 +0000

description:
Escape any ':' characters when using ${FLAG} as a match pattern.

diffstat:

 mk/buildlink2/bsd.buildlink2.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9c26dd7c7cfa -r 97613627558f mk/buildlink2/bsd.buildlink2.mk
--- a/mk/buildlink2/bsd.buildlink2.mk   Fri Dec 12 21:35:24 2003 +0000
+++ b/mk/buildlink2/bsd.buildlink2.mk   Fri Dec 12 21:37:55 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink2.mk,v 1.102 2003/12/12 04:26:36 xtraeme Exp $
+# $NetBSD: bsd.buildlink2.mk,v 1.103 2003/12/12 21:37:55 erh Exp $
 #
 # An example package buildlink2.mk file:
 #
@@ -117,7 +117,7 @@
 .  endif
 .endfor
 .for FLAG in ${_BLNK_LDFLAGS}
-.  if empty(LDFLAGS:M${FLAG})
+.  if empty(LDFLAGS:M${FLAG:C/:/\:/})
 LDFLAGS+=      ${FLAG}
 .  endif
 .endfor



Home | Main Index | Thread Index | Old Index