mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Fix building under -CURRENT (gcc 3.3) by update to 3.5.7 [1]
Sort and use %%EXAMPLESDIR%% and %%DOCSDIR%% for pkg-plist [2] Submitted by: Simon Barner <barner@in.tum.de> [1], osa [2]
This commit is contained in:
parent
290bd4aaa2
commit
cb74841678
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85298
@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= freefem
|
PORTNAME= freefem
|
||||||
PORTVERSION= 3.5.4
|
PORTVERSION= 3.5.7
|
||||||
CATEGORIES= math cad
|
CATEGORIES= math cad
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= kfem
|
MASTER_SITE_SUBDIR= kfem
|
||||||
@ -23,12 +23,6 @@ INSTALLS_SHLIB= yes
|
|||||||
|
|
||||||
MAN1= freefem.1
|
MAN1= freefem.1
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if ${OSVERSION} >= 500113
|
|
||||||
BROKEN= "Does not compile (bad C++ code)"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|-O3 |\$$CXXFLAGS |g' ${WRKSRC}/configure
|
@${REINPLACE_CMD} -e 's|-O3 |\$$CXXFLAGS |g' ${WRKSRC}/configure
|
||||||
@${REINPLACE_CMD} -e 's|debian doc freefem|debian freefem|g ; \
|
@${REINPLACE_CMD} -e 's|debian doc freefem|debian freefem|g ; \
|
||||||
@ -44,4 +38,4 @@ post-install:
|
|||||||
${INSTALL_DATA} ${WRKSRC}/examples/*.pde ${EXAMPLESDIR}
|
${INSTALL_DATA} ${WRKSRC}/examples/*.pde ${EXAMPLESDIR}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1 +1 @@
|
|||||||
MD5 (freefem-3.5.4.tar.gz) = 746fe6487085011493a805e23507ae30
|
MD5 (freefem-3.5.7.tar.gz) = e8f22515ab56f8e79fb789a11f8d4bef
|
||||||
|
14
math/freefem/files/patch-freefem::fem::femParser.cpp
Normal file
14
math/freefem/files/patch-freefem::fem::femParser.cpp
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
--- freefem/fem/femParser.cpp.orig Thu Oct 25 00:49:36 2001
|
||||||
|
+++ freefem/fem/femParser.cpp Mon Jul 21 13:32:54 2003
|
||||||
|
@@ -2913,7 +2913,10 @@
|
||||||
|
for( k =0; k<3*__mesh.getNumberOfCells();k++) (s->name)->table[k] = 0;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
- { (s->name)->table = new creal[__mesh.getNumberOfPoints()];
|
||||||
|
+ { // This is in order to avoid an internal compiler error
|
||||||
|
+ // with gcc 2.95.4 (FreeBSD)
|
||||||
|
+ int n = __mesh.getNumberOfPoints();
|
||||||
|
+ (s->name)->table = new creal[n];
|
||||||
|
for( k =0; k<__mesh.getNumberOfPoints();k++) (s->name)->table[k] = 0;
|
||||||
|
}
|
||||||
|
}
|
@ -17,34 +17,35 @@ include/femTreeNode.hpp
|
|||||||
lib/libfreefem.a
|
lib/libfreefem.a
|
||||||
lib/libfreefem.so
|
lib/libfreefem.so
|
||||||
lib/libfreefem.so.0
|
lib/libfreefem.so.0
|
||||||
%%PORTDOCS%%share/doc/freefem/ChangeLog
|
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||||
%%PORTDOCS%%share/doc/freefem/NEWS
|
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||||
%%PORTDOCS%%share/doc/freefem/README
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
%%PORTDOCS%%share/doc/freefem/TODO
|
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||||
%%PORTDOCS%%share/examples/freefem/convhill.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/accous.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/multib.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/adj.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/valicplx.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/brachet.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/accous.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/condens.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/crack.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/convectn.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/muonde.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/convhill.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/validate.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/crack.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/adj.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/heat.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/nacabig.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/holbeam.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/validcplx.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/integ.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/brachet.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/lame.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/heat.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/lamevar.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/nsstep.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/multib.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/nsstepad.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/muonde.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/validsys.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/nacabig.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/condens.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/nsstep.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/holbeam.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/nsstepad.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/varvect.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/shock.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/integ.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/stokespo.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/shock.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/timedfm.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/lame.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/triangle_laplace.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/stokespo.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/valicplx.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/convectn.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/validate.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/lamevar.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/validcplx.pde
|
||||||
%%PORTDOCS%%share/examples/freefem/timedfm.pde
|
%%PORTDOCS%%%%EXAMPLESDIR%%/validsys.pde
|
||||||
%%PORTDOCS%%@dirrm share/examples/freefem
|
%%PORTDOCS%%%%EXAMPLESDIR%%/varvect.pde
|
||||||
%%PORTDOCS%%@dirrm share/doc/freefem
|
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||||
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
|
Loading…
Reference in New Issue
Block a user