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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Jun 29 16:20:16 CEST 2009


Revision: 5400
          http://gar.svn.sourceforge.net/gar/?rev=5400&view=rev
Author:   dmichelsen
Date:     2009-06-29 14:20:16 +0000 (Mon, 29 Jun 2009)

Log Message:
-----------
mGAR v2: Fix error where gspec-files where not generated when at least one gspec was explicitly defined in DISTFILES

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

Modified: csw/mgar/gar/v2/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v2/gar.pkg.mk	2009-06-29 10:46:47 UTC (rev 5399)
+++ csw/mgar/gar/v2/gar.pkg.mk	2009-06-29 14:20:16 UTC (rev 5400)
@@ -540,7 +540,7 @@
 	$(DONADA)
 
 # The dynamic pkginfo is only generated for dynamic gspec-files
-package-%: $(WORKDIR)/%.gspec $(if $(filter %.gspec,$(DISTFILES)),,$(WORKDIR)/%.pkginfo) $(WORKDIR)/%.prototype-$(GARCH) $(WORKDIR)/%.depend
+package-%: $(WORKDIR)/%.gspec $(if $(findstring %.gspec,$(DISTFILES)),,$(WORKDIR)/%.pkginfo) $(WORKDIR)/%.prototype-$(GARCH) $(WORKDIR)/%.depend
 	@echo " ==> Processing $*.gspec"
 	$(_DBG)( $(call _PKG_ENV,$*) mkpackage --spec $(WORKDIR)/$*.gspec \
 						 --spooldir $(SPKG_SPOOLDIR) \


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