From 7903d2c1e7e29c0549427f83fa06be420e32a6ca Mon Sep 17 00:00:00 2001 From: Ade Lovett Date: Tue, 3 Apr 2001 13:26:23 +0000 Subject: [PATCH] Add missed patchfile from previous commit, oops. --- devel/SWIG/files/patch-ah | 25 +++++++++++++++++++++++++ devel/swig11/files/patch-ah | 25 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 devel/SWIG/files/patch-ah create mode 100644 devel/swig11/files/patch-ah diff --git a/devel/SWIG/files/patch-ah b/devel/SWIG/files/patch-ah new file mode 100644 index 000000000000..139e4541fb7b --- /dev/null +++ b/devel/SWIG/files/patch-ah @@ -0,0 +1,25 @@ +--- configure.orig Wed Feb 4 09:24:23 1998 ++++ configure Thu Mar 29 11:20:22 2001 +@@ -2445,3 +2445,3 @@ + +-dirs="$PYINCLUDE $PYINCLUDE/python1.5 $PYINCLUDE/python1.4 $PYINCLUDE/Py $prefix/include/python1.5 $prefix/include/python1.4 /usr/local/include/python1.5 /usr/include/python1.5 /usr/local/include/python1.4 /usr/include/python1.4 $prefix/include/Py /usr/local/include/Py /usr/include/Py" ++dirs="$PYINCLUDE $PYINCLUDE/python2.0 $PYINCLUDE/python1.5 $PYINCLUDE/Py $prefix/include/python2.0 $prefix/include/python1.5 /usr/local/include/python2.0 /usr/include/python2.0 /usr/local/include/python1.5 /usr/include/python1.5 $prefix/include/Py /usr/local/include/Py /usr/include/Py" + for i in $dirs ; do +@@ -2460,3 +2460,3 @@ + echo "configure:2461: checking for Python library" >&5 +-dirs="$PYLIB $PYLIB/config $PYLIB/lib $PYLIB/python1.5/config $PYLIB/python1.4/config $PYLIB/python/lib $prefix/lib/python1.5/config $prefix/lib/python1.4/config /usr/local/lib/python1.5/config /usr/lib/python1.5 /usr/local/lib/python1.4/config /usr/lib/python1.4 $prefix/lib/python/lib /usr/local/lib/python/lib /usr/lib/python/lib /home/sci/local/lib/python" ++dirs="$PYLIB $PYLIB/config $PYLIB/lib $PYLIB/python2.0/config $PYLIB/python1.5/config $PYLIB/python/lib $prefix/lib/python2.0/config $prefix/lib/python1.5/config /usr/local/lib/python2.0/config /usr/lib/python2.0 /usr/local/lib/python1.5/config /usr/lib/python1.5 $prefix/lib/python/lib /usr/local/lib/python/lib /usr/lib/python/lib /home/sci/local/lib/python" + +@@ -2467,6 +2467,6 @@ + PYINCLUDE="$PYINCLUDE -I$i" +- PYLINK="-lpython1.5" ++ PYLINK="-lpython1.5" + break + fi +- if test -r $i/libPython.a; then ++ if test -r $i/libpython2.0.a; then + echo "$ac_t""$i" 1>&6 +@@ -2474,2 +2474,3 @@ + PYINCLUDE="$PYINCLUDE -I$i" ++ PYLINK="-lpython2.0" + break diff --git a/devel/swig11/files/patch-ah b/devel/swig11/files/patch-ah new file mode 100644 index 000000000000..139e4541fb7b --- /dev/null +++ b/devel/swig11/files/patch-ah @@ -0,0 +1,25 @@ +--- configure.orig Wed Feb 4 09:24:23 1998 ++++ configure Thu Mar 29 11:20:22 2001 +@@ -2445,3 +2445,3 @@ + +-dirs="$PYINCLUDE $PYINCLUDE/python1.5 $PYINCLUDE/python1.4 $PYINCLUDE/Py $prefix/include/python1.5 $prefix/include/python1.4 /usr/local/include/python1.5 /usr/include/python1.5 /usr/local/include/python1.4 /usr/include/python1.4 $prefix/include/Py /usr/local/include/Py /usr/include/Py" ++dirs="$PYINCLUDE $PYINCLUDE/python2.0 $PYINCLUDE/python1.5 $PYINCLUDE/Py $prefix/include/python2.0 $prefix/include/python1.5 /usr/local/include/python2.0 /usr/include/python2.0 /usr/local/include/python1.5 /usr/include/python1.5 $prefix/include/Py /usr/local/include/Py /usr/include/Py" + for i in $dirs ; do +@@ -2460,3 +2460,3 @@ + echo "configure:2461: checking for Python library" >&5 +-dirs="$PYLIB $PYLIB/config $PYLIB/lib $PYLIB/python1.5/config $PYLIB/python1.4/config $PYLIB/python/lib $prefix/lib/python1.5/config $prefix/lib/python1.4/config /usr/local/lib/python1.5/config /usr/lib/python1.5 /usr/local/lib/python1.4/config /usr/lib/python1.4 $prefix/lib/python/lib /usr/local/lib/python/lib /usr/lib/python/lib /home/sci/local/lib/python" ++dirs="$PYLIB $PYLIB/config $PYLIB/lib $PYLIB/python2.0/config $PYLIB/python1.5/config $PYLIB/python/lib $prefix/lib/python2.0/config $prefix/lib/python1.5/config /usr/local/lib/python2.0/config /usr/lib/python2.0 /usr/local/lib/python1.5/config /usr/lib/python1.5 $prefix/lib/python/lib /usr/local/lib/python/lib /usr/lib/python/lib /home/sci/local/lib/python" + +@@ -2467,6 +2467,6 @@ + PYINCLUDE="$PYINCLUDE -I$i" +- PYLINK="-lpython1.5" ++ PYLINK="-lpython1.5" + break + fi +- if test -r $i/libPython.a; then ++ if test -r $i/libpython2.0.a; then + echo "$ac_t""$i" 1>&6 +@@ -2474,2 +2474,3 @@ + PYINCLUDE="$PYINCLUDE -I$i" ++ PYLINK="-lpython2.0" + break