mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Fix build with gcc 4.2
- USE gfortran PR: 114307 Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu> (maintainer)
This commit is contained in:
parent
2ceb7b2b62
commit
59c297484b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195078
@ -14,7 +14,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= vis5d
|
||||
|
||||
MAINTAINER= stephen@math.missouri.edu
|
||||
COMMENT= An OpenGL-based volumetric visualization program for scientific datasets
|
||||
COMMENT= OpenGL-based volumetric visualization program for scientific datasets
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libmix.a:${PORTSDIR}/graphics/qslim \
|
||||
convert:${PORTSDIR}/graphics/ImageMagick
|
||||
@ -22,15 +22,21 @@ LIB_DEPENDS= netcdf.4:${PORTSDIR}/science/netcdf \
|
||||
gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
|
||||
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
|
||||
|
||||
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}"
|
||||
|
||||
USE_AUTOTOOLS= libtool:15
|
||||
USE_GL= yes
|
||||
USE_GNOME= gnometarget gtk12
|
||||
USE_ICONV= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" F77="${F77}" FFLAGS="-fno-range-check"
|
||||
CONFIGURE_ARGS= --enable-gtk --enable-threads --with-netcdf \
|
||||
--with-mixkit=${LOCALBASE}/lib/libmix.a --with-x
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
|
||||
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
|
||||
|
15
science/vis5d+/files/patch-util::kludge.f
Normal file
15
science/vis5d+/files/patch-util::kludge.f
Normal file
@ -0,0 +1,15 @@
|
||||
--- util/kludge.f.orig 2007-07-04 17:50:16.000000000 -0500
|
||||
+++ util/kludge.f 2007-07-04 17:51:45.000000000 -0500
|
||||
@@ -53,7 +53,11 @@
|
||||
INTEGER MTBL(12)
|
||||
DATA MTBL/0,31,59,90,120,151,181,212,243,273,304,334/
|
||||
C
|
||||
- CALL IDATE(MON,IDAY,IYEAR)
|
||||
+ INTEGER IAR(3)
|
||||
+ CALL IDATE(IAR)
|
||||
+ MON=IAR(1)
|
||||
+ IDAY=IAR(2)
|
||||
+ IYEAR=IAR(3)
|
||||
IF (IDAY.LT.1.OR.IDAY.GT.31) RETURN
|
||||
IF (MON.LT.1.OR.MON.GT.12) RETURN
|
||||
IDDD=IDAY+MTBL(MON)
|
Loading…
Reference in New Issue
Block a user