[Lunar-commits] r20671 - moonbase/trunk/audio/audacity

Jannis Pohlmann jannis at lunar-linux.org
Tue Jul 11 17:37:45 UTC 2006


Author: jannis
Date: 2006-07-11 17:37:45 +0000 (Tue, 11 Jul 2006)
New Revision: 20671

Modified:
   moonbase/trunk/audio/audacity/PRE_BUILD
Log:
Note to self: && != &&. Call default_pre_build in PRE_BUILD.

Modified: moonbase/trunk/audio/audacity/PRE_BUILD
===================================================================
--- moonbase/trunk/audio/audacity/PRE_BUILD	2006-07-11 16:27:42 UTC (rev 20670)
+++ moonbase/trunk/audio/audacity/PRE_BUILD	2006-07-11 17:37:45 UTC (rev 20671)
@@ -1,8 +1,10 @@
-if which wx-config &> /dev/null && wx-config --unicode &> /dev/null; then
+if which wx-config &> /dev/null; then
+  if wx-config --unicode=no &> /dev/null; then
     message "${MODULE_COLOR}wxGTK${DEFAULT}${MESSAGE_COLOR} has been compiled with Unicode support."
     message "If you want to install ${MODULE_COLOR}audacity${DEFAULT}${MESSAGE_COLOR} you have to "
     message "rebuild wxGTK without Unicode.${DEFAULT_COLOR}"
-    false
-else
-  true
+    return 1
+  fi
 fi
+
+default_pre_build



More information about the Lunar-commits mailing list