summaryrefslogtreecommitdiff
path: root/mk/buildlink2
diff options
context:
space:
mode:
authorerh <erh@pkgsrc.org>2003-12-12 21:37:55 +0000
committererh <erh@pkgsrc.org>2003-12-12 21:37:55 +0000
commitc3d6ec75cbbe77de0f6eafe9021e2564df5b11bf (patch)
tree9cf216165c3797ca66bf803c959321d9244ea421 /mk/buildlink2
parent316c97b925e531760b386b6e09877c0987a5a19e (diff)
downloadpkgsrc-c3d6ec75cbbe77de0f6eafe9021e2564df5b11bf.tar.gz
Escape any ':' characters when using ${FLAG} as a match pattern.
Diffstat (limited to 'mk/buildlink2')
-rw-r--r--mk/buildlink2/bsd.buildlink2.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink2/bsd.buildlink2.mk b/mk/buildlink2/bsd.buildlink2.mk
index 0c7e941a2ff..79fd6de078e 100644
--- a/mk/buildlink2/bsd.buildlink2.mk
+++ b/mk/buildlink2/bsd.buildlink2.mk
@@ -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 @@ CPPFLAGS+= ${FLAG}
. endif
.endfor
.for FLAG in ${_BLNK_LDFLAGS}
-. if empty(LDFLAGS:M${FLAG})
+. if empty(LDFLAGS:M${FLAG:C/:/\:/})
LDFLAGS+= ${FLAG}
. endif
.endfor