diff options
author | adam <adam@pkgsrc.org> | 2009-12-24 19:25:04 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2009-12-24 19:25:04 +0000 |
commit | d0d4aced258284921e14a5e5a7177c974b1878c8 (patch) | |
tree | 85611db9ebac9a2b74e46746895e435e84c968a1 /math/R | |
parent | aa6bcec5781ecc6829282482be2be907cf86af8b (diff) | |
download | pkgsrc-d0d4aced258284921e14a5e5a7177c974b1878c8.tar.gz |
patch-ae is not needed any more
Diffstat (limited to 'math/R')
-rw-r--r-- | math/R/patches/patch-ae | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/math/R/patches/patch-ae b/math/R/patches/patch-ae deleted file mode 100644 index efe5d61b26b..00000000000 --- a/math/R/patches/patch-ae +++ /dev/null @@ -1,41 +0,0 @@ -$NetBSD: patch-ae,v 1.15 2008/08/31 12:33:53 markd Exp $ - -From SVN revision r46461 - ---- src/scripts/javareconf.orig 2008-03-26 01:26:44.000000000 +1300 -+++ src/scripts/javareconf -@@ -125,16 +125,28 @@ fi - javac_works='not present' - if test -n "$JAVAC"; then - javac_works='not functional' -- rm -rf /tmp/A.java /tmp/A.class -- echo "public class A { }" > /tmp/A.java -- if test -e /tmp/A.java; then -- if "${JAVAC}" /tmp/A.java >/dev/null; then -- if test -e /tmp/A.class; then -+# tempdir=`mktemp -d` -+ -+ : ${TMPDIR=/tmp} -+ { tempdir=`(mktemp -d -q "${TMPDIR}/RJRECONF.XXXXXX") 2>/dev/null` \ -+ && test -n "${tempdir}" && test -d "${tempdir}" ; } || -+ { test -n "${RANDOM}" && tempdir=${TMPDIR}/RJRECONF$$-${RANDOM} \ -+ && (mkdir "${tempdir}") ; } || -+ { tempdir=${TMPDIR}/RJRECONF.$$-`date +%m%d%H%M%S` \ -+ && (mkdir "${tempdir}"); } || -+ { tempdir=${TMPDIR}/RJRECONF.$$ && (mkdir "${tempdir}") ; } || -+ (error "cannot create temporary directory" && exit 1) -+ -+ echo "public class A { }" > ${tempdir}/A.java -+ if test -e ${tempdir}/A.java; then -+ if "${JAVAC}" ${tempdir}/A.java >/dev/null; then -+ if test -e ${tempdir}/A.class; then - javac_works=yes - fi - fi - fi -- rm -rf /tmp/A.java /tmp/A.class -+ rm -rf ${tempdir} -+ - fi - if test "${javac_works}" = yes; then - echo "Java compiler : ${JAVAC}" |