summaryrefslogtreecommitdiff
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
commitc092d839ccb062709e4d2be75ae30622f088dbfc (patch)
tree9cf216165c3797ca66bf803c959321d9244ea421
parentfcb3ffa91830841aaebc6e6886da513e811ba0f0 (diff)
downloadpkgsrc-c092d839ccb062709e4d2be75ae30622f088dbfc.tar.gz
Escape any ':' characters when using ${FLAG} as a match pattern.
-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