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.
_______________________________________________
devel mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/devel