[packages/icedtea7: 72/103] - require /proc, see http://ep09.pld-linux.org/~builderth/queue.html#61333

jajcus jajcus at pld-linux.org
Fri Apr 19 13:13:52 CEST 2013


commit 1ee33f1f3e6f25fb8462d678249ebe902ce5bb79
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Jun 7 12:09:10 2010 +0000

    - require /proc, see http://ep09.pld-linux.org/~builderth/queue.html#61333
    
    Changed files:
        icedtea6.spec -> 1.64

 icedtea6.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/icedtea6.spec b/icedtea6.spec
index 2983ed2..b1531dd 100644
--- a/icedtea6.spec
+++ b/icedtea6.spec
@@ -411,6 +411,12 @@ ln -s %{SOURCE3} drops
 ln -s %{SOURCE4} drops
 
 %build
+# Make sure we have /proc mounted - otherwise idlc will fail later.
+if [ ! -f /proc/self/stat ]; then
+	echo "You need to have /proc mounted in order to build this package!"
+	exit 1
+fi
+
 export JAVA_HOME=%{java_home}
 export PATH="$JAVA_HOME/bin:$PATH"
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/icedtea7.git/commitdiff/f360048b2271851d733c2fc755b8e7cae2f337cf



More information about the pld-cvs-commit mailing list