Hi,
I have packaged kvasd-installer for Mageia, however
both autogen .sh and Makefile.in both try to send 'clear' to a terminal, which it cannot do on our build system. This breaks the build.

I have patched both files and the package now builds OK.

Maybe you could include this in the source?

Patch is attached.

Thanks,
Barry



diff -ur kvasd-installer_o/autogen.sh kvasd-installer/autogen.sh
--- kvasd-installer_o/autogen.sh	2015-11-07 22:14:25.000000000 +0000
+++ kvasd-installer/autogen.sh	2015-11-26 13:40:46.612995960 +0000
@@ -46,7 +46,7 @@
 
 # Test if Bash is installed
 bash --version > /dev/null 2>&1 || {
-	clear
+	clear ||:
 	echo '---------------------------------------------'
 	echo 'PACKAGE DEPENDENCY ERROR'
 	echo '---------------------------------------------'
@@ -60,7 +60,7 @@
 
 # Test if Awk is installed
 awk --version > /dev/null 2>&1 || {
-	clear
+	clear ||:
 	echo '---------------------------------------------'
 	echo 'PACKAGE DEPENDENCY ERROR'
 	echo '---------------------------------------------'
@@ -74,7 +74,7 @@
 
 # Test if Dialog is installed
 dialog --version > /dev/null 2>&1 || {
-	clear
+	clear ||:
 	echo '---------------------------------------------'
 	echo 'PACKAGE DEPENDENCY ERROR'
 	echo '---------------------------------------------'
@@ -88,7 +88,7 @@
 
 # Test if autoconf is installed
 autoconf --version > /dev/null 2>&1 || {
-	clear
+	clear ||:
 	echo '---------------------------------------------'
 	echo 'PACKAGE DEPENDENCY ERROR'
 	echo '---------------------------------------------'
@@ -102,7 +102,7 @@
 
 # Test if Subversion is installed
 svn --version > /dev/null 2>&1 || {
-	clear
+	clear ||:
 	echo '---------------------------------------------'
 	echo 'PACKAGE DEPENDENCY ERROR'
 	echo '---------------------------------------------'
@@ -116,7 +116,7 @@
 
 # run make clean if makefile and configure are found
 if test -f ./Makefile -a ./configure ; then
-	clear
+	clear ||:
 	echo '---------------------------------------------------'
 	echo ${C_Y}"Checking for Old Makefile & Configure Script"${C_NC}
 	echo '---------------------------------------------------'
@@ -129,7 +129,7 @@
 	echo '---------------------------------------------------'
 	autoconf -f -i
 else
-	clear
+	clear ||:
 	echo '---------------------------------------------------'
 	echo ${C_Y}"Running ( autoconf ) to process configure.ac"${C_NC}
 	echo '---------------------------------------------------'
diff -ur kvasd-installer_o/Makefile.in kvasd-installer/Makefile.in
--- kvasd-installer_o/Makefile.in	2015-11-07 22:14:25.000000000 +0000
+++ kvasd-installer/Makefile.in	2015-11-26 14:25:17.087785859 +0000
@@ -57,7 +57,7 @@
 
 # Install target wspr
 install:
-	@clear
+	@clear ||:
 	@echo '---------------------------------------------'
 	@echo -e $(C_Y)"Installing @PROGRAM@"$(C_NC)
 	@echo '---------------------------------------------'
@@ -83,7 +83,7 @@
 
 # Uninstall system files
 uninstall:
-	@clear
+	@clear ||:
 	@echo '---------------------------------------------'
 	@echo -e $(C_Y)"Uninstalling @PROGRAM@"$(C_NC)
 	@echo '---------------------------------------------'
Only in kvasd-installer: Makefile.in~
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to