Compile with g77 on 4.0-CURRENT

Submitted by:	obrien
This commit is contained in:
Jean-Marc Zucconi 1999-05-02 21:29:35 +00:00
parent 2780ede292
commit 9e6f007b4a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18334
2 changed files with 9 additions and 2 deletions

View file

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

View file

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