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

wbonnet at users.sourceforge.net wbonnet at users.sourceforge.net
Sun Mar 8 15:18:12 CET 2009


Revision: 3630
          http://gar.svn.sourceforge.net/gar/?rev=3630&view=rev
Author:   wbonnet
Date:     2009-03-08 14:18:12 +0000 (Sun, 08 Mar 2009)

Log Message:
-----------
Fix : If a pkg is not installed and declared in the REQUIRED lists, nothing was output to generaetd depend file, and target bilding was not stopped. This could create missing dependencies.

This patch add the given package in the depend name without its 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	2009-03-08 12:09:28 UTC (rev 3629)
+++ csw/mgar/gar/v2/gar.pkg.mk	2009-03-08 14:18:12 UTC (rev 3630)
@@ -282,7 +282,7 @@
 		$(foreach PKG,$(_EXTRA_GAR_PKGS) $(REQUIRED_PKGS_$*) $(REQUIRED_PKGS),\
 			$(if $(SPKG_DESC_$(PKG)), \
 				echo "P $(PKG) $(call catalogname,$(PKG)) - $(SPKG_DESC_$(PKG))";, \
-				echo "$(shell /usr/bin/pkginfo $(PKG) | awk '{ $$1 = "P"; print } ')"; \
+				echo "$(shell /usr/bin/pkginfo $(PKG) || echo "P $(PKG) - " | awk '{ $$1 = "P"; print } ')"; \
 			) \
 		)) >$@)
 


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