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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Wed Apr 20 14:13:18 CEST 2011


Revision: 14335
          http://gar.svn.sourceforge.net/gar/?rev=14335&view=rev
Author:   dmichelsen
Date:     2011-04-20 12:13:18 +0000 (Wed, 20 Apr 2011)

Log Message:
-----------
mGAR v2: Tiny formatting adjustment of obsoletions

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

Modified: csw/mgar/gar/v2/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v2/gar.pkg.mk	2011-04-20 12:03:21 UTC (rev 14334)
+++ csw/mgar/gar/v2/gar.pkg.mk	2011-04-20 12:13:18 UTC (rev 14335)
@@ -722,7 +722,7 @@
 	$(_DBG_MERGE)$(foreach P,$(OBSOLETED_PKGS),($(foreach Q,$(OBSOLETING_PKGS),$(if $(filter $P,$(OBSOLETED_BY_$Q)), \
 		$(if $(SPKG_DESC_$Q), \
 			echo "$Q $(call catalogname,$Q) - $(SPKG_DESC_$Q)";, \
-			echo "$(shell (/usr/bin/pkginfo $Q || echo "$Q - ") | $(GAWK) '{ $$1 = "P"; print }')"; \
+			echo "$(shell (/usr/bin/pkginfo $Q || echo "$Q - ") | perl -npe 's/^\S*\s//;s/\s+/ /')"; \
 		)))) > $(WORKDIR_GLOBAL)/$P.obsolete; \
 	)
 	@$(MAKECOOKIE)


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