X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=org.handhelds.familiar%2Fpackages%2Fclasspath%2Fcp-tools%2Fbytecodejar-workaround.patch;fp=org.handhelds.familiar%2Fpackages%2Fclasspath%2Fcp-tools%2Fbytecodejar-workaround.patch;h=f1336c2accb21df2cff6ca20ce9ddd6de3887b02;hb=b492863e15325032f4734aec08209761b8fff5ac;hp=0000000000000000000000000000000000000000;hpb=85ce83e67fcc22bb92e118f00db328325fcb6e95;p=familiar-h63xx-build.git diff --git a/org.handhelds.familiar/packages/classpath/cp-tools/bytecodejar-workaround.patch b/org.handhelds.familiar/packages/classpath/cp-tools/bytecodejar-workaround.patch new file mode 100644 index 0000000..f1336c2 --- /dev/null +++ b/org.handhelds.familiar/packages/classpath/cp-tools/bytecodejar-workaround.patch @@ -0,0 +1,38 @@ +--- cp-tools.orig/configure.ac 2005-10-01 19:26:32.000000000 +0200 ++++ cp-tools/configure.ac 2005-10-01 19:34:12.000000000 +0200 +@@ -75,8 +75,21 @@ + with_gnubytecode=yes + ] + ) ++AC_ARG_WITH([gnu-bytecode-jar], ++ [AS_HELP_STRING(--with-gnu-bytecode-jar,where to look for the gnu.bytecode.jar [[default=search]])], ++ [ ++ if test "x${withval}" != xno; then ++ with_gnubytecodejar=${withval} ++ else ++ with_gnubytecodejar=no ++ fi ++ ], ++ [ ++ with_gnubytecodejar=no ++ ] ++) + AM_CONDITIONAL(USE_GNUBYTECODE, test "x${with_gnubytecode}" = xyes) +-if test "x${with_gnubytecode}" = xyes ++if test "x${with_gnubytecode}" = xyes -a "x${with_gnubytecodejar}" = xno + then + for path in /usr /usr/local; do + AC_CHECK_FILE([$path/share/java/bytecode.jar], +@@ -88,6 +101,12 @@ + test -d src || mkdir src + test -d src/jars || mkdir src/jars + cp -f ${BYTECODE_JAR} src/jars/ ++else ++ BYTECODE_JAR=$with_gnubytecodejar ++ export BYTECODE_JAR ++ test -d src || mkdir src ++ test -d src/jars || mkdir src/jars ++ cp -f ${BYTECODE_JAR} src/jars/ + fi + + dnl