[csw-devel] SF.net SVN: gar:[7612] csw/mgar/gar/v2/gar.pkg.mk
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Sun Dec 13 20:38:19 CET 2009
Revision: 7612
http://gar.svn.sourceforge.net/gar/?rev=7612&view=rev
Author: dmichelsen
Date: 2009-12-13 19:38:16 +0000 (Sun, 13 Dec 2009)
Log Message:
-----------
mGAR v2: Make sure the classes from CSWcswclassutils are added in the correct order
Modified Paths:
--------------
csw/mgar/gar/v2/gar.pkg.mk
Modified: csw/mgar/gar/v2/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v2/gar.pkg.mk 2009-12-13 14:14:43 UTC (rev 7611)
+++ csw/mgar/gar/v2/gar.pkg.mk 2009-12-13 19:38:16 UTC (rev 7612)
@@ -525,7 +525,7 @@
# The texinfo filter has been taken out of the normal filters as TEXINFO has a default.
$(WORKDIR)/%.pkginfo: $(WORKDIR)/%.prototype
-$(WORKDIR)/%.pkginfo: SPKG_CLASSES += $(shell cat $(WORKDIR)/$*.prototype | perl -ane '$(foreach C,$(_CSWCLASSES),print "$C " if( $$F[1] eq "$C" && !$$done{$C}++ );)')
+$(WORKDIR)/%.pkginfo: SPKG_CLASSES += $(shell cat $(WORKDIR)/$*.prototype | perl -e 'while(<>){@F=split;$$c{$$F[1]}++};$(foreach C,$(_CSWCLASSES),print "$C\n" if( $$c{$C});)')
$(WORKDIR)/%.pkginfo: $(WORKDIR)
$(_DBG)(echo "PKG=$*"; \
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