[csw-devel] SF.net SVN: gar:[13275] csw/mgar/gar/v2/gar.pkg.mk
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Sun Feb 13 16:26:42 CET 2011
Revision: 13275
http://gar.svn.sourceforge.net/gar/?rev=13275&view=rev
Author: bdwalton
Date: 2011-02-13 15:26:42 +0000 (Sun, 13 Feb 2011)
Log Message:
-----------
gar/v2: add support for VERSION_FLAG_PATCH to set ,p in the version string of the package file
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-02-13 14:09:22 UTC (rev 13274)
+++ csw/mgar/gar/v2/gar.pkg.mk 2011-02-13 15:26:42 UTC (rev 13275)
@@ -149,9 +149,16 @@
SPKG_EMAIL = Unknown
endif
+define ALLVERSIONFLAGS
+$(if $(VERSION_FLAG_PATCH),p)
+endef
+ifneq ($(call ALLVERSIONFLAGS),)
+SPKG_VERSION_FLAGS ?= ,$(call ALLVERSIONFLAGS)
+endif
+
SPKG_DESC ?= $(DESCRIPTION)
-SPKG_VERSION ?= $(VERSION)
+SPKG_VERSION ?= $(VERSION)$(SPKG_VERSION_FLAGS)
SPKG_CATEGORY ?= application
SPKG_SOURCEURL ?= $(firstword $(VENDOR_URL) \
$(if $(filter $(GNU_MIRROR),$(MASTER_SITES)),http://www.gnu.org/software/$(GNU_PROJ)) \
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