[csw-devel] SF.net SVN: gar:[13649] csw/mgar/gar/v2/gar.pkg.mk
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Mon Mar 7 18:47:08 CET 2011
Revision: 13649
http://gar.svn.sourceforge.net/gar/?rev=13649&view=rev
Author: dmichelsen
Date: 2011-03-07 17:47:08 +0000 (Mon, 07 Mar 2011)
Log Message:
-----------
mGAR v2: Fix generation of transitional package name when exceeding length
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-07 17:27:55 UTC (rev 13648)
+++ csw/mgar/gar/v2/gar.pkg.mk 2011-03-07 17:47:08 UTC (rev 13649)
@@ -62,7 +62,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,$(PACKAGES),$(if $(filter $(1),$(OBSOLETES_$P)),$P)) | perl -npe 's/^(.{100}).+/substr($$1,0,-4) . " ..."/')
+SPKG_DESC_$(1) ?= $(shell echo Transitional package. Content moved to $(foreach P,$(PACKAGES),$(if $(filter $(1),$(OBSOLETES_$P)),$P)) | perl -npe 's/(.{0,97}\s|\S{0,97})(.+)/$$1.../')
RUNTIME_DEP_PKGS_$(1) = $(foreach P,$(PACKAGES),$(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