summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-03-30 00:12:01 +0000
committerjtb <jtb@pkgsrc.org>2001-03-30 00:12:01 +0000
commitaa77257dfba6e17cf37638389c838723b94733a5 (patch)
treeaa6f83e6c1717dd6bba38451cdba68341fc23dfc /math
parent5eb36a59e54d260decef220fa1e4c4792b6b5bfe (diff)
downloadpkgsrc-aa77257dfba6e17cf37638389c838723b94733a5.tar.gz
Make the configure script recognize NetBSD and report accordingly
(instead of giving "system: unknown"). This is just cosmetic. Add a dependence on f2c.
Diffstat (limited to 'math')
-rw-r--r--math/tela/Makefile3
-rw-r--r--math/tela/files/patch-sum4
-rw-r--r--math/tela/patches/patch-aa40
3 files changed, 40 insertions, 7 deletions
diff --git a/math/tela/Makefile b/math/tela/Makefile
index fd36fb33d57..ee7dac485d1 100644
--- a/math/tela/Makefile
+++ b/math/tela/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/03/09 00:32:16 jtb Exp $
+# $NetBSD: Makefile,v 1.4 2001/03/30 00:12:01 jtb Exp $
DISTNAME= tela-1.31
CATEGORIES= math
@@ -14,6 +14,7 @@ DEPENDS+= lapack-[0-9]*:../../math/lapack
DEPENDS+= hdf-[0-9]*:../../devel/hdf
DEPENDS+= plotmtv-[0-9]*:../../graphics/plotmtv
DEPENDS+= readline-[0-9]*:../../devel/readline
+DEPENDS+= f2c-[0-9]*:../../lang/f2c
EVAL_PREFIX+= HDF_PREFIX=hdf F2C_PREFIX=f2c
EVAL_PREFIX+= READLINE_PREFIX=readline JPEG_PREFIX=jpeg
diff --git a/math/tela/files/patch-sum b/math/tela/files/patch-sum
index 67d17f19b7b..c4671aac77c 100644
--- a/math/tela/files/patch-sum
+++ b/math/tela/files/patch-sum
@@ -1,6 +1,6 @@
-$NetBSD: patch-sum,v 1.6 2001/03/09 00:32:16 jtb Exp $
+$NetBSD: patch-sum,v 1.7 2001/03/30 00:12:02 jtb Exp $
-SHA1 (patch-aa) = d17056bb7e9bf4bfe70e06352f3b0866fadf6355
+SHA1 (patch-aa) = 2a2033c3d3bddbfcfaebb189223fc320fb82c4cc
SHA1 (patch-ab) = 67d91c90455d2e294bf444edd9f309a4d33038d3
SHA1 (patch-ac) = 065065f4011eb14a4d3a3481be609323e5e316b1
SHA1 (patch-ad) = 1276a6d1ef5876376a4dcd9a1dacfd7e09f106fd
diff --git a/math/tela/patches/patch-aa b/math/tela/patches/patch-aa
index 297425466ef..c8db2dcf914 100644
--- a/math/tela/patches/patch-aa
+++ b/math/tela/patches/patch-aa
@@ -1,8 +1,20 @@
-$NetBSD: patch-aa,v 1.2 2001/03/09 00:32:16 jtb Exp $
+$NetBSD: patch-aa,v 1.3 2001/03/30 00:12:02 jtb Exp $
---- configure.orig Thu Mar 8 22:20:34 2001
+--- configure.orig Thu Jan 25 10:00:31 2001
+++ configure
-@@ -2091,7 +2091,7 @@
+@@ -543,6 +543,11 @@
+ #define LINUX 1
+ EOF
+ system='Linux' ;;
++ NetBSD:*)
++ cat >> confdefs.h <<\EOF
++#define NETBSD 1
++EOF
++ system='NetBSD' ;;
+ HP-UX:*)
+ cat >> confdefs.h <<\EOF
+ #define HPUX 1
+@@ -2091,7 +2096,7 @@
# It would also be nice to do this for all -L options, not just this one.
if test -n "$x_libraries"; then
@@ -11,7 +23,7 @@ $NetBSD: patch-aa,v 1.2 2001/03/09 00:32:16 jtb Exp $
# For Solaris; some versions of Sun CC require a space after -R and
# others require no space. Words are not sufficient . . . .
case "`(uname -sr) 2>/dev/null`" in
-@@ -2656,7 +2656,7 @@
+@@ -2656,7 +2661,7 @@
# Check for libraries that X11R6 Xt/Xaw programs need.
ac_save_LDFLAGS="$LDFLAGS"
@@ -20,3 +32,23 @@ $NetBSD: patch-aa,v 1.2 2001/03/09 00:32:16 jtb Exp $
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
# check for ICE first), but we must link in the order -lSM -lICE or
# we get undefined symbols. So assume we have SM if we have ICE.
+@@ -3573,8 +3578,8 @@
+ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+ cross_compiling=$ac_cv_prog_cxx_cross
+
+-FLIBS=''
+-FFLAGS='-O'
++# FLIBS=''
++# FFLAGS='-O'
+ R8FLAG='-r8'
+ TCOMPLEX_O='Tcomplex.o'
+ VRANF_O=''
+@@ -3629,6 +3634,8 @@
+ ;;
+ OSF1)
+ FLIBS='-lfor -lots'
++ ;;
++ NetBSD)
+ ;;
+ Linux|*)
+ FLIBS='-lg2c -ldl'