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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sun Mar 13 05:45:37 CET 2011


Revision: 13760
          http://gar.svn.sourceforge.net/gar/?rev=13760&view=rev
Author:   bdwalton
Date:     2011-03-13 04:45:37 +0000 (Sun, 13 Mar 2011)

Log Message:
-----------
gar/v2: fix issue with obsoletes pkg description

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-03-13 02:40:04 UTC (rev 13759)
+++ csw/mgar/gar/v2/gar.pkg.mk	2011-03-13 04:45:37 UTC (rev 13760)
@@ -63,7 +63,7 @@
 CATALOGNAME_$(1) ?= $(call catalogname,$(1))
 # The length of the description has been limited to 100 characters,
 # the string is cut (no longer on word boundaries).
-SPKG_DESC_$(1) ?= $(shell echo Transitional package. Content moved to $(foreach P,$(OBSOLETING_PKGS),$(if $(filter $(1),$(OBSOLETES_$P)),$P)) | perl -npe 's/(.{0,97}\s|\S{0,97})(.+)/$$1.../')
+SPKG_DESC_$(1) ?= $(shell echo Transitional package. Content moved to $(foreach P,$(OBSOLETING_PKGS),$(if $(filter $(1),$(OBSOLETES_$P)),$P)) | perl -npe 's/(.{100}).+/substr($$1,96) . " ..."/e')
 RUNTIME_DEP_PKGS_$(1) = $(foreach P,$(OBSOLETING_PKGS),$(if $(filter $(1),$(OBSOLETES_$P)),$P))
 PKGFILES_$(1) = NOFILES
 ARCHALL_$(1) = 1


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