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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Thu Jan 7 00:52:21 CET 2010


Revision: 7897
          http://gar.svn.sourceforge.net/gar/?rev=7897&view=rev
Author:   bdwalton
Date:     2010-01-06 23:52:20 +0000 (Wed, 06 Jan 2010)

Log Message:
-----------
gar: Enhance values for SPKG_SOURCEURL (for VENDOR in pkginfo)

SPKG_SOURCEURL is now set to the first of VENDOR_URL, MASTER_SITES or
GIT_REPOS.  It was originally only MASTER_SITES, but this doesn't work
when GIT_REPOS but no MASTER_SITES are set.  GIT_REPOS on it's own
isn't a good stand-in as it's a less 'pretty' url.  Allowing an
explicit VENDOR_URL gives control to the maintainer, retains backward
compatibility by default and extends the old behaviour with a new
fallback possibility.

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

Modified: csw/mgar/gar/v2/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v2/gar.pkg.mk	2010-01-06 23:47:07 UTC (rev 7896)
+++ csw/mgar/gar/v2/gar.pkg.mk	2010-01-06 23:52:20 UTC (rev 7897)
@@ -141,7 +141,7 @@
 SPKG_DESC      ?= $(DESCRIPTION)
 SPKG_VERSION   ?= $(GARVERSION)
 SPKG_CATEGORY  ?= application
-SPKG_SOURCEURL ?= $(firstword $(MASTER_SITES))
+SPKG_SOURCEURL ?= $(firstword $(VENDOR_URL) $(MASTER_SITES) $(GIT_REPOS))
 SPKG_VENDOR    ?= $(SPKG_SOURCEURL) packaged for CSW by $(SPKG_PACKAGER)
 SPKG_PSTAMP    ?= $(LOGNAME)@$(shell hostname)-$(call _REVISION)-$(shell date '+%Y%m%d%H%M%S')
 SPKG_BASEDIR   ?= $(prefix)


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