[SM-Commit] PERFORCE change 80456 by Arwed von Merkatz for review

Perforce Review Daemon p4review at smee.org
Sat Jun 10 11:15:00 EDT 2006


Change 80456 by arwed_von_merkatz at arwed-Otherland on 2006/06/10 16:10:54

	added fallbacks for runtime_depends and suggest_depends

Affected files ...

... //sgl/grimoires/test/ChangeLog#306 integrate
... //sgl/grimoires/test/libcompat#5 integrate

Differences ...

==== //sgl/grimoires/test/ChangeLog#306 (text) ====

@@ -1,3 +1,6 @@
+2006-06-10 Arwed v. Merkatz <v.merkatz at gmx.net>
+	* libcompat: added fallbacks for suggest_depends and runtime_depends
+
 2006-06-09 Jason Flatt <jflatt at sourcemage.org>
 	* kde-apps/f4l: new spell, flash editor for linux
 

==== //sgl/grimoires/test/libcompat#5 (xtext) ====

@@ -30,3 +30,15 @@
 function fast_up_depends() {
   gaze -q depends --fast "$@"
 }
+
+# fall back to optional_depends if suggest_depends isn't implemented
+declare -f suggest_depends &> /dev/null ||
+function suggest_depends() {
+  optional_depends "$@"
+}
+
+# fall back to depends if runtime_depends isn't implemented
+declare -f runtime_depends &> /dev/null ||
+function runtime_depends() {
+  depends "$@"
+}



More information about the SM-Commit mailing list