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.
This commit is contained in:
jtb 2000-12-08 22:29:47 +00:00
parent 015251ee3c
commit 3b45487473
4 changed files with 41 additions and 2 deletions

View file

@ -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

View file

@ -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

View file

@ -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
# ----------------------------------------------------------------------------

View file

@ -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
# ----------------------------------------------------------------------------