Index: head/science/xcrysden/Makefile =================================================================== --- head/science/xcrysden/Makefile (revision 484112) +++ head/science/xcrysden/Makefile (revision 484113) @@ -1,38 +1,38 @@ # $FreeBSD$ PORTNAME= xcrysden DISTVERSION= 1.5.60 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science MASTER_SITES= http://www.xcrysden.org/download/ MAINTAINER= yuri@FreeBSD.org COMMENT= Crystalline and molecular structure visualisation program LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfftw3.so:math/fftw3 RUN_DEPENDS= bwidget>0:x11-toolkits/bwidget \ babel:science/openbabel \ convert:graphics/ImageMagick \ ppmtompeg:graphics/netpbm \ xwd:x11/xwd -USES= fortran gmake localbase:ldflags tcl tk +USES= fortran gl gmake localbase:ldflags tcl tk USE_GL= gl glu USE_XORG= x11 xmu BINARY_ALIAS= make=gmake gcc=cc gfortran=gfortran${GCC_DEFAULT} post-patch: @${CP} ${FILESDIR}/Make.sys ${WRKSRC} @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Make.sys @${RM} -r ${WRKSRC}/external/src post-install: @cd ${STAGEDIR}${PREFIX}/lib/${PORTNAME} && ${STRIP_CMD} xcrys xctclsh xsf2xsf @${REINPLACE_CMD} -i '' -e 's|^\.|export LD_PRELOAD=/usr/local/lib/gcc${GCC_DEFAULT}/libgcc_s.so; .|' \ ${STAGEDIR}${PREFIX}/bin/xcrysden .include Index: head/science/xcrysden/files/patch-F_gengeom.f =================================================================== --- head/science/xcrysden/files/patch-F_gengeom.f (nonexistent) +++ head/science/xcrysden/files/patch-F_gengeom.f (revision 484113) @@ -0,0 +1,13 @@ +Temporary fix for gcc8 breakage: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232960 + +--- F/gengeom.f.orig 2018-11-04 17:34:02 UTC ++++ F/gengeom.f +@@ -674,7 +674,7 @@ c print *,'READFTN34_END' + include 'param.inc' + CHARACTER*80 FILE2 + INTEGER NAT(NAC) +- REAL*8 AC(3,2),BC(3,2),CC(3,2),FC(3,4),IC(3,2),RC(3,3),HC(3,3), ++ REAL*8 AC(3,4),BC(3,4),CC(3,4),FC(3,4),IC(3,4),RC(3,4),HC(3,4), + $ CSTMC(3,4), + * DVC(3,3),SOP(3,3,48),TRX(48),TRY(48),TRZ(48), + * XC(NAC,4),YC(NAC,4),ZC(NAC,4), Property changes on: head/science/xcrysden/files/patch-F_gengeom.f ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property