Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kdetesting.git;a=commitdiff;h=9ca937faef873519f4b28bf2daf312a8d31082ea

commit 9ca937faef873519f4b28bf2daf312a8d31082ea
Author: Michel Hermier <herm...@frugalware.org>
Date:   Mon Jan 18 22:14:04 2010 +0100

include/cmake.sh

* Automagically add nostrip option if _F_cmake_type matches Debug*.

diff --git a/source/include/cmake.sh b/source/include/cmake.sh
index 6cb8137..97adb98 100644
--- a/source/include/cmake.sh
+++ b/source/include/cmake.sh
@@ -36,8 +36,14 @@ fi
###
# == APPENDED VARIABLES
# * makedepends(): add cmake and pkgconfig
+# * options(): add nostrip if _F_cmake_type is Debug*
###
makedepends=(${makedepen...@]} 'cmake' 'pkgconfig')
+case "$_F_cmake_type" in
+Debug*)
+       options=("${optio...@]}" 'nostrip')
+       ;;
+esac

###
# == PROVIDED FUNCTIONS
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to