/[gentoo-x86]/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-jcpuid-build-system.patch
Gentoo

Contents of /net-libs/nativebiginteger/files/nativebiginteger-0.8.7-jcpuid-build-system.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sun Jul 31 18:20:59 2011 UTC (9 years, 4 months ago) by tommy
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Version bump, partly based on ebuilds by Dennis Schridde, fixes bug 376971

(Portage version: 2.2.0_alpha47-r1/cvs/Linux x86_64)

1 --- i2p-0.8.7/core/c/jcpuid/build.sh.orig 2011-07-29 18:38:44.554000219 +0200
2 +++ i2p-0.8.7/core/c/jcpuid/build.sh 2011-07-29 18:38:13.789000172 +0200
3 @@ -24,8 +24,8 @@
4 mkdir lib/freenet/support
5 mkdir lib/freenet/support/CPUInformation
6
7 -CC="gcc"
8 +test -z "$CC" && CC="gcc"
9
10 case `uname -sr` in
11 MINGW*)
12 JAVA_HOME="/c/software/j2sdk1.4.2_05"
13 @@ -50,8 +52,8 @@
14
15 echo "Compiling C code..."
16 rm -f $LIBFILE
17 -$CC $COMPILEFLAGS $LINKFLAGS $INCLUDES src/*.c -o $LIBFILE
18 -strip $LIBFILE
19 +echo $CC $COMPILEFLAGS $CPPFLAGS $CFLAGS $LINKFLAGS $LDFLAGS $INCLUDES src/*.c -o $LIBFILE
20 +$CC $COMPILEFLAGS $CPPFLAGS $CFLAGS $LINKFLAGS $LDFLAGS $INCLUDES src/*.c -o $LIBFILE
21 echo Built $LIBFILE
22
23 #g++ -shared -static -static-libgcc -Iinclude -I$JAVA_HOME/include \

  ViewVC Help
Powered by ViewVC 1.1.20