diff options
-rw-r--r-- | graphics/pgplot/Makefile | 10 | ||||
-rw-r--r-- | graphics/pgplot/files/Makefile.flib | 1 |
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> |