diff options
author | Maho Nakata <maho@FreeBSD.org> | 2007-01-09 01:47:06 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2007-01-09 01:47:06 +0000 |
commit | 397f4ace331ec9247b2f31e72e81ad48291e9615 (patch) | |
tree | db2e5d598a8182f080e12b8c05ff6f4435974651 /biology/molden | |
parent | fc543c3243b60ebfc8dd3477dc2c26523d25473d (diff) | |
download | ports-397f4ace331ec9247b2f31e72e81ad48291e9615.tar.gz ports-397f4ace331ec9247b2f31e72e81ad48291e9615.zip |
Notes
Diffstat (limited to 'biology/molden')
-rw-r--r-- | biology/molden/Makefile | 7 | ||||
-rw-r--r-- | biology/molden/files/patch-aa | 2 | ||||
-rw-r--r-- | biology/molden/files/patch-molden.f | 10 |
3 files changed, 13 insertions, 6 deletions
diff --git a/biology/molden/Makefile b/biology/molden/Makefile index d80c67234a6f..51ba31fe822d 100644 --- a/biology/molden/Makefile +++ b/biology/molden/Makefile @@ -24,14 +24,11 @@ USE_XLIB= yes RESTRICTED= free for academic, non profit usage; do not re-distribute source and executable. MAKEFILE= ${WRKSRC}/makefile -MAKE_ENV= FC=${F77} +WANT_FORTRAN= yes #dummy +USE_GCC= 4.2+ .include <bsd.port.pre.mk> -.if !${OSVERSION} < 500039 -F77?= f77 -.endif - post-patch: ${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/xwin.c diff --git a/biology/molden/files/patch-aa b/biology/molden/files/patch-aa index 7eba32a343a5..6095f7839c11 100644 --- a/biology/molden/files/patch-aa +++ b/biology/molden/files/patch-aa @@ -22,7 +22,7 @@ +.if ${OSVERSION} < 400005 +FFLAGS += -Nn802 -Nx400 +.else -+FFLAGS += -Wno-globals -fno-globals ++FFLAGS += #-Wno-globals -fno-globals +.endif +LIBS = -L${X11BASE}/lib -lX11 -lm +LDR = ${FC} diff --git a/biology/molden/files/patch-molden.f b/biology/molden/files/patch-molden.f new file mode 100644 index 000000000000..49d552255b72 --- /dev/null +++ b/biology/molden/files/patch-molden.f @@ -0,0 +1,10 @@ +--- molden.f~ Mon Jul 10 20:46:06 2006 ++++ molden.f Tue Jan 9 10:43:24 2007 +@@ -255,7 +255,6 @@ + common /vrmlhl/ spcdfil + common /pmflvl/ ipmfm,ipmfh,pmflev(mxpmfl),levcol(mxpmfl) + common /comsrf/ vo(3), rt(3),v1t(3),v2t(3),v3t(3) +- external iargc + dimension fcnt(mxcntr) + character title*80, keywrd*160, keyhlp*80, keyori*160 + character tmpstr*80,movfil*80,vrmlfil*80,povfil*80,oglfil*80 |