aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-01-17 16:30:32 +0800
committermaho <maho@FreeBSD.org>2007-01-17 16:30:32 +0800
commit32b0d24a101210254a436953a0fd6b04c8782f60 (patch)
treee26a749b74ba81d418934bc300b2bebd6fe7b83b /graphics
parent7f2e2c8700f00380ba625f8ca21e6d90b3425ae9 (diff)
downloadfreebsd-ports-gnome-32b0d24a101210254a436953a0fd6b04c8782f60.tar.gz
freebsd-ports-gnome-32b0d24a101210254a436953a0fd6b04c8782f60.tar.zst
freebsd-ports-gnome-32b0d24a101210254a436953a0fd6b04c8782f60.zip
* Migrate to gfortran.
* Bump port revision. Approved by: portmgr(kris)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/pgplot/Makefile16
-rw-r--r--graphics/pgplot/files/Makefile.bin2
2 files changed, 8 insertions, 10 deletions
diff --git a/graphics/pgplot/Makefile b/graphics/pgplot/Makefile
index 4d99df9d4c2a..6d09ef4c1ffe 100644
--- a/graphics/pgplot/Makefile
+++ b/graphics/pgplot/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pgplot
PORTVERSION= 5.2.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.astro.caltech.edu/pub/pgplot/
DISTNAME= ${PORTNAME}${PORTVERSION:R}
@@ -18,7 +18,7 @@ COMMENT= A C/FORTRAN library for drawing graphs on a variety of display devices
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_XLIB= yes
USE_PERL5_BUILD=yes
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
@@ -29,13 +29,11 @@ VERSION= 5
VERSION= 5.2
.endif
-.if ${OSVERSION} < 400004
-FC= ./xf77
-.else
-FC= f77
-.endif
-
-MAKE_ENV+= FC=${FC}
+WANT_FORTRAN= yes #dummy but future use
+BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
+FC= gfortran42
+F77= gfortran42
+MAKE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
MAKE_ARGS+= X11BASE="${X11BASE}"
post-install:
diff --git a/graphics/pgplot/files/Makefile.bin b/graphics/pgplot/files/Makefile.bin
index 6e2f5993a7f0..e2ccc80b3986 100644
--- a/graphics/pgplot/files/Makefile.bin
+++ b/graphics/pgplot/files/Makefile.bin
@@ -11,7 +11,7 @@ PGDISP_ROUTINES= cleanup.o pgdisp.o figcurs.o getdata.o getvisuals.o handlexeven
all: grfont.dat pgxwin_server pgdisp
grfont.dat: fonts/grfont.txt fonts/pgpack.f
- f77 -o pgpack fonts/pgpack.f
+ $(FC) -o pgpack fonts/pgpack.f
./pgpack <fonts/grfont.txt
pgxwin_server: $(DRVDIR)/pgxwin_server.c