summaryrefslogtreecommitdiff
path: root/graphics/plplot
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2000-12-08 22:29:47 +0000
committerjtb <jtb@pkgsrc.org>2000-12-08 22:29:47 +0000
commit3b4548747366fbbc67f5a0541ed360930b646fbf (patch)
tree0c8d6cc0f66ac6559a4a2ae046e319236dca6030 /graphics/plplot
parent015251ee3c4afa648f991cb83dc6f8fd69e32085 (diff)
downloadpkgsrc-3b4548747366fbbc67f5a0541ed360930b646fbf.tar.gz
If were using the f2c-f77 frontend to f2c then don't use the -r8 argument
(for promoting REAL to DOUBLE) as the that script doesn't accept it. The resulting API will be single precision. If you want double precision then just set PKG_FC= f77 in /etc/mk.conf.
Diffstat (limited to 'graphics/plplot')
-rw-r--r--graphics/plplot/Makefile8
-rw-r--r--graphics/plplot/files/patch-sum4
-rw-r--r--graphics/plplot/patches/patch-ae15
-rw-r--r--graphics/plplot/patches/patch-af16
4 files changed, 41 insertions, 2 deletions
diff --git a/graphics/plplot/Makefile b/graphics/plplot/Makefile
index 99de8a0fcb1..35c84a60142 100644
--- a/graphics/plplot/Makefile
+++ b/graphics/plplot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2000/12/08 09:54:30 jtb Exp $
+# $NetBSD: Makefile,v 1.3 2000/12/08 22:29:47 jtb Exp $
DISTNAME= plplot-5.0.0
CATEGORIES= graphics
@@ -7,6 +7,8 @@ MASTER_SITES= ftp://plplot.sourceforge.net/pub/plplot/
MAINTAINER= jtb@netbsd.org
HOMEPAGE= http://www.plplot.org/
+BUILD_DEPENDS+= ${LOCALBASE}/bin/autoreconf:../../devel/autoconf
+
GNU_CONFIGURE= YES
USE_GMAKE= YES
USE_FORTRAN= YES
@@ -18,6 +20,10 @@ post-patch:
${SED} -e 's:%%PREFIX%%:'${PREFIX}':g' \
< $$f > $$f.tmp && ${MV} $$f.tmp $$f ; done
+pre-configure:
+ @(cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf)
+ @${MV} ${WRKSRC}/cf/configure ${WRKSRC}/configure
+
PLPLOT_USE_X11= YES
PLPLOT_USE_TCL= YES
PLPLOT_USE_TK = YES
diff --git a/graphics/plplot/files/patch-sum b/graphics/plplot/files/patch-sum
index 7d15375cc80..bc999136992 100644
--- a/graphics/plplot/files/patch-sum
+++ b/graphics/plplot/files/patch-sum
@@ -1,6 +1,8 @@
-$NetBSD: patch-sum,v 1.2 2000/12/08 09:54:30 jtb Exp $
+$NetBSD: patch-sum,v 1.3 2000/12/08 22:29:47 jtb Exp $
MD5 (patch-aa) = 76106f9a0dead8498291e686f8afbc32
MD5 (patch-ab) = 4e19a8510c846a9c778c29abb42a8032
MD5 (patch-ac) = 9646f9b082536e9f80c2c2b037332a25
MD5 (patch-ad) = 986a238768477fca8fa1948358c7a4db
+MD5 (patch-ae) = 89dafc9b8758a5bdbb4df2a6fa52536b
+MD5 (patch-af) = 175247996540ebab4756848f16a7d4e1
diff --git a/graphics/plplot/patches/patch-ae b/graphics/plplot/patches/patch-ae
new file mode 100644
index 00000000000..1bb6cade362
--- /dev/null
+++ b/graphics/plplot/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.3 2000/12/08 22:29:47 jtb Exp $
+
+--- cf/sysconf.in.orig Fri Jun 25 04:27:20 1999
++++ cf/sysconf.in
+@@ -293,6 +293,10 @@
+ fi
+ fi
+
++if test "$F77" = "f2c-f77" ; then
++ DBL_FLAG_F=""
++fi
++
+ # ----------------------------------------------------------------------------
+ # gcc
+ # ----------------------------------------------------------------------------
diff --git a/graphics/plplot/patches/patch-af b/graphics/plplot/patches/patch-af
new file mode 100644
index 00000000000..eff82f7628e
--- /dev/null
+++ b/graphics/plplot/patches/patch-af
@@ -0,0 +1,16 @@
+$NetBSD: patch-af,v 1.3 2000/12/08 22:29:48 jtb Exp $
+
+--- cf/sysloc.in.orig Wed May 10 20:47:53 2000
++++ cf/sysloc.in
+@@ -20,9 +20,9 @@
+
+ DPLIBSTR=-ldpnetwork
+ ITKLIBSTR=-litk
+-TKLIBSTR=-ltk
++TKLIBSTR=-ltk83
+ ITCLLIBSTR=-litcl
+-TCLLIBSTR=-ltcl
++TCLLIBSTR=-ltcl83
+ XLIBSTR=-lX11
+
+ # ----------------------------------------------------------------------------