[csw-devel] SF.net SVN: gar:[8651] csw/mgar/gar/v2/gar.pkg.mk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Feb 18 14:25:38 CET 2010


Revision: 8651
          http://gar.svn.sourceforge.net/gar/?rev=8651&view=rev
Author:   dmichelsen
Date:     2010-02-18 13:25:37 +0000 (Thu, 18 Feb 2010)

Log Message:
-----------
mGAR v2: Allow multiple filenames per prototype modified, fixing #16

Modified Paths:
--------------
    csw/mgar/gar/v2/gar.pkg.mk

Modified: csw/mgar/gar/v2/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v2/gar.pkg.mk	2010-02-18 13:20:57 UTC (rev 8650)
+++ csw/mgar/gar/v2/gar.pkg.mk	2010-02-18 13:25:37 UTC (rev 8651)
@@ -352,7 +352,7 @@
 
 _PROTOTYPE_MODIFIERS = | perl -ane '\
 		$(foreach M,$(PROTOTYPE_MODIFIERS),\
-			$(if $(PROTOTYPE_FILES_$M),if( $$F[2] =~ m(^$(PROTOTYPE_FILES_$M)$$) ) {)\
+			$(if $(PROTOTYPE_FILES_$M),if( $$F[2] =~ m(^$(shell echo $(PROTOTYPE_FILES_$M) | /usr/bin/tr " " "|")$$) ) {)\
 				$(if $(PROTOTYPE_FTYPE_$M),$$F[0] = "$(PROTOTYPE_FTYPE_$M)";)\
 				$(if $(PROTOTYPE_CLASS_$M),$$F[1] = "$(PROTOTYPE_CLASS_$M)";)\
 				$(if $(PROTOTYPE_PERMS_$M),$$F[3] = "$(PROTOTYPE_PERMS_$M)";)\


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list