aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pgplot
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1999-05-03 05:29:35 +0800
committerjmz <jmz@FreeBSD.org>1999-05-03 05:29:35 +0800
commitfea81e3457aa2b2c4b3ac9c6c0a01c397aaa9197 (patch)
treeb8fcf8cfd9fd7ae3e4a5a37921de88b8164fd763 /graphics/pgplot
parent5ee098cda95eeda43cca65e7b5b80af32a01cf87 (diff)
downloadfreebsd-ports-gnome-fea81e3457aa2b2c4b3ac9c6c0a01c397aaa9197.tar.gz
freebsd-ports-gnome-fea81e3457aa2b2c4b3ac9c6c0a01c397aaa9197.tar.zst
freebsd-ports-gnome-fea81e3457aa2b2c4b3ac9c6c0a01c397aaa9197.zip
Compile with g77 on 4.0-CURRENT
Submitted by: obrien
Diffstat (limited to 'graphics/pgplot')
-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>