summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1999-05-02 21:29:35 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1999-05-02 21:29:35 +0000
commit9e6f007b4a9ff82a0564eb915456a441e1c8d65c (patch)
tree5ab61584cafdab1b99e4f51b07a246adc34550e3 /graphics
parentmark as broken and remove extra whitespace (diff)
Compile with g77 on 4.0-CURRENT
Submitted by: obrien
Notes
Notes: svn path=/head/; revision=18334
Diffstat (limited to 'graphics')
-rw-r--r--graphics/pgplot/Makefile10
-rw-r--r--graphics/pgplot/files/Makefile.flib1
2 files changed, 9 insertions, 2 deletions
diff --git a/graphics/pgplot/Makefile b/graphics/pgplot/Makefile
index 594e2b810b4b..226903f8aa87 100644
--- a/graphics/pgplot/Makefile
+++ b/graphics/pgplot/Makefile
@@ -3,7 +3,7 @@
# Date created: 21 December 1996
# Whom: jmz
#
-# $Id: Makefile,v 1.8 1998/12/05 02:25:45 jmz Exp $
+# $Id: Makefile,v 1.9 1998/12/22 08:22:54 asami Exp $
#
DISTNAME= pgplot5.2
@@ -24,6 +24,14 @@ VERSION= 5
VERSION= 5.2
.endif
+.if ${OSVERSION} < 400004
+FC= ./xf77
+.else
+FC= f77
+.endif
+
+MAKE_ENV+= FC=${FC}
+
post-install:
.for f in libcpgplot.so libpgplot.so
${LN} -sf $f.${VERSION} ${PREFIX}/lib/$f
diff --git a/graphics/pgplot/files/Makefile.flib b/graphics/pgplot/files/Makefile.flib
index ccc85b394d02..640d41535ec3 100644
--- a/graphics/pgplot/files/Makefile.flib
+++ b/graphics/pgplot/files/Makefile.flib
@@ -15,7 +15,6 @@ DRIVERS=gidriv.f gldriv.f hgdriv.f lxdriv.f nudriv.f ppdriv.f psdriv.f ttdriv.f
SRCS= ${PG_ROUTINES} ${PG_NON_STANDARD} ${GR_ROUTINES} ${SYSTEM_ROUTINES} \
${DRIVERS} grexec.f
-FC = ./xf77
CFLAGS+=-DPG_PPU -I/usr/X11R6/include
.include <bsd.lib.mk>