summaryrefslogtreecommitdiff
path: root/devel/tmake/files/patch-bin-tmake
blob: 013b1791ff5c4a8ea49222d8f31bfe1bc542edf7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- bin/tmake.orig	2004-01-28 13:20:11.000000000 +0800
+++ bin/tmake	2011-10-31 17:51:51.493913956 +0800
@@ -616,7 +616,7 @@
 	s/\#.*//;				# strip comment
 	s/^\s+//;				# strip white space
 	s/\s+$//;
-	if ( /^\s*((?:(?:(?:[\w\-]+\s*:\s*){1,10})?)\w+\s*(\+|\-|\*|\/)?=)/ ) {
+	if ( /^\s*((?:(?:(?:[\w\+\-]+\s*:\s*){1,10})?)\w+\s*(\+|\-|\*|\/)?=)/ ) {
 	    $var = $1;				# var also contains the ".="
 	    s/^.*?=\s*//;
 	    if ( /^\<\<(.*)$/ ) {