pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/libscigraphica This package needs a Python in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/93c60170b633
branches:  trunk
changeset: 516753:93c60170b633
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Jul 27 09:03:28 2006 +0000

description:
This package needs a Python interpreter that can be called using plain
"python". Also, the configure script is patches so that it does not
return EXIT_SUCCESS when there was an error.

diffstat:

 graphics/libscigraphica/Makefile         |   5 ++++-
 graphics/libscigraphica/distinfo         |   4 ++--
 graphics/libscigraphica/patches/patch-aa |  11 ++++++++++-
 3 files changed, 16 insertions(+), 4 deletions(-)

diffs (56 lines):

diff -r cf6155745baa -r 93c60170b633 graphics/libscigraphica/Makefile
--- a/graphics/libscigraphica/Makefile  Thu Jul 27 07:41:40 2006 +0000
+++ b/graphics/libscigraphica/Makefile  Thu Jul 27 09:03:28 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2006/07/20 12:31:03 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2006/07/27 09:03:28 rillig Exp $
 #
 
 DISTNAME=      libscigraphica-2.1.1
@@ -16,6 +16,9 @@
 
 PKGCONFIG_OVERRIDE+=   libscigraphica-2.0.pc.in
 
+pre-configure:
+       ln -s ${PYTHONBIN} ${TOOLS_DIR}/bin/python
+
 .include "../../lang/python/extension.mk"
 .include "../../math/py-numarray/buildlink3.mk"
 .include "../../graphics/libart2/buildlink3.mk"
diff -r cf6155745baa -r 93c60170b633 graphics/libscigraphica/distinfo
--- a/graphics/libscigraphica/distinfo  Thu Jul 27 07:41:40 2006 +0000
+++ b/graphics/libscigraphica/distinfo  Thu Jul 27 09:03:28 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/07/02 10:18:32 rillig Exp $
+$NetBSD: distinfo,v 1.2 2006/07/27 09:03:28 rillig Exp $
 
 SHA1 (libscigraphica-2.1.1.tar.gz) = dcbadae82501f40ef366c7e543c26b289657dc60
 RMD160 (libscigraphica-2.1.1.tar.gz) = 1b04a432052ad3edd8e233349ee47f4f99bb1a4a
 Size (libscigraphica-2.1.1.tar.gz) = 774288 bytes
-SHA1 (patch-aa) = 4a382de2706592d7a9456cdc7362a54f25fcecf0
+SHA1 (patch-aa) = 950a445549cd55e2dbd1e20342b3dfec3e26fff7
diff -r cf6155745baa -r 93c60170b633 graphics/libscigraphica/patches/patch-aa
--- a/graphics/libscigraphica/patches/patch-aa  Thu Jul 27 07:41:40 2006 +0000
+++ b/graphics/libscigraphica/patches/patch-aa  Thu Jul 27 09:03:28 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2006/07/02 10:18:32 rillig Exp $
+$NetBSD: patch-aa,v 1.2 2006/07/27 09:03:28 rillig Exp $
 
 Another self-written configure script that does everything wrong. This
 one does not let the user choose the directory where py-numarray is
@@ -50,6 +50,15 @@
                    if test -n $array_loc -a -d $array_loc; then
                       echo "$array_loc"
                       PY_CFLAGS="$PY_CFLAGS -I$array_loc -DWITH_NUMERIC_PYTHON"
+@@ -10374,7 +10370,7 @@
+ 
+ if eval "test x$array_loc = x"; then
+  echo "Numerical python not found!"
+- exit
++ exit 1
+ fi
+ 
+ UNAME=`uname -s -m -r -p`
 @@ -10414,12 +10410,10 @@ scigraphica_icondir="${datadir}/pixmaps/
  
  



Home | Main Index | Thread Index | Old Index