summaryrefslogtreecommitdiff
path: root/graphics/libscigraphica
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-27 09:03:28 +0000
committerrillig <rillig@pkgsrc.org>2006-07-27 09:03:28 +0000
commitc47486a33028ba07f0798d30161875af73ea766a (patch)
tree74280629eab100444e906cc613ced96c55b32475 /graphics/libscigraphica
parentac35deefb7b80612bb6e9e8c8b92f1f67cf1841a (diff)
downloadpkgsrc-c47486a33028ba07f0798d30161875af73ea766a.tar.gz
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 (limited to 'graphics/libscigraphica')
-rw-r--r--graphics/libscigraphica/Makefile5
-rw-r--r--graphics/libscigraphica/distinfo4
-rw-r--r--graphics/libscigraphica/patches/patch-aa11
3 files changed, 16 insertions, 4 deletions
diff --git a/graphics/libscigraphica/Makefile b/graphics/libscigraphica/Makefile
index 79b79319ca5..a13df2f4637 100644
--- a/graphics/libscigraphica/Makefile
+++ b/graphics/libscigraphica/Makefile
@@ -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 @@ GNU_CONFIGURE= yes
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 --git a/graphics/libscigraphica/distinfo b/graphics/libscigraphica/distinfo
index e35ae6295f5..daebfbf26e5 100644
--- a/graphics/libscigraphica/distinfo
+++ b/graphics/libscigraphica/distinfo
@@ -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 --git a/graphics/libscigraphica/patches/patch-aa b/graphics/libscigraphica/patches/patch-aa
index b0083e2b5c9..37d1ad67285 100644
--- a/graphics/libscigraphica/patches/patch-aa
+++ b/graphics/libscigraphica/patches/patch-aa
@@ -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 @@ installed.
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/