summaryrefslogtreecommitdiff
path: root/math/blitz++
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2003-05-12 02:03:15 +0000
committerjmc <jmc@pkgsrc.org>2003-05-12 02:03:15 +0000
commit2b7df993fd8547f853f59b559ffe24d8dcc3159c (patch)
tree26bf7b8f5cc9ce06942bd5a493ed66ff8e5c1d1d /math/blitz++
parent36cd7cbeb39045157ce1f568c5975ca3b91cd525 (diff)
downloadpkgsrc-2b7df993fd8547f853f59b559ffe24d8dcc3159c.tar.gz
Move tty test into interactive section so this will work correctly
for bulk/non-interactive builds that are logging
Diffstat (limited to 'math/blitz++')
-rw-r--r--math/blitz++/distinfo3
-rw-r--r--math/blitz++/patches/patch-ad28
2 files changed, 30 insertions, 1 deletions
diff --git a/math/blitz++/distinfo b/math/blitz++/distinfo
index 4244e8615b4..8be318bcc63 100644
--- a/math/blitz++/distinfo
+++ b/math/blitz++/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/04/30 00:03:36 jtb Exp $
+$NetBSD: distinfo,v 1.2 2003/05/12 02:03:15 jmc Exp $
SHA1 (blitz-0.6.tar.gz) = 4271cbaa3c23e35466e9610551d9809b89b606ed
Size (blitz-0.6.tar.gz) = 1019425 bytes
SHA1 (patch-aa) = 85d8f8a6ef8c63c566c307d24074639fee47b41c
SHA1 (patch-ab) = f84a9c79eab98649fd7cfb8acbf5c5580ae97386
SHA1 (patch-ac) = 3b26d8b2432ddd70ea24993d1b14e9116171cd30
+SHA1 (patch-ad) = 469b604a0896a6b5c6916fac02db9f7d864e9097
diff --git a/math/blitz++/patches/patch-ad b/math/blitz++/patches/patch-ad
new file mode 100644
index 00000000000..c7df2b0801b
--- /dev/null
+++ b/math/blitz++/patches/patch-ad
@@ -0,0 +1,28 @@
+$NetBSD: patch-ad,v 1.1 2003/05/12 02:03:15 jmc Exp $
+
+--- compiler/bzconfig.orig Sun May 11 20:32:36 2003
++++ compiler/bzconfig Sun May 11 20:33:49 2003
+@@ -37,11 +37,6 @@
+ # to edit the next line
+ objextension='o'
+
+-if test ! -t 0; then
+- echo "Use 'sh bzconfig', not 'sh < bzconfig'"
+- exit 1
+-fi
+-
+ # clean="rm -f a.out core bztemp bztest bzjunk.cpp bzjunk.o bzjunk.ii bzjunk.int.c bzjunk.s"
+ clean="rm -f core"
+ trap '$clean; exit 1' 1 2 3 15
+@@ -122,6 +117,11 @@
+ EOH
+
+ if test $interactive -eq 1; then
++
++if test ! -t 0; then
++ echo "Use 'sh bzconfig', not 'sh < bzconfig'"
++ exit 1
++fi
+
+ echo "Running in interactive mode (the --compiler option was not specified)"
+