Index: head/science/ecs/Makefile =================================================================== --- head/science/ecs/Makefile (revision 454338) +++ head/science/ecs/Makefile (revision 454339) @@ -1,77 +1,77 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= ecs PORTVERSION= 2.0.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= science MASTER_SITES= http://code-saturne.org/releases/ MAINTAINER= thierry@FreeBSD.org COMMENT= Code_Saturne Preprocessor LICENSE= GPLv2 BUILD_DEPENDS+= ${LOCALBASE}/lib/libscotch.a:cad/scotch LIB_DEPENDS= libmed.so:french/med \ libbft.so:science/bft \ libhdf5.so:science/hdf5 \ libcgns.so:science/cgnslib USES= gmake USE_TEX= dvipsk GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-bft=${LOCALBASE} \ --with-hdf5=${LOCALBASE} \ --with-cgns=${LOCALBASE} \ --without-adf --without-ccm \ --with-scotch=${LOCALBASE} \ --with-med=${LOCALBASE} \ --with-metis=${LOCALBASE} \ --with-metis-include=${LOCALBASE}/include/metis CONFIGURE_ENV= PTHREAD_LIBS=-lpthread OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext iconv NLS_CONFIGURE_ENABLE= nls DOCS_USE= TEX=tex:build DOCS_BUILD_DEPENDS= fig2dev:print/transfig .include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif .if ${PORT_OPTIONS:MDOCS} PORTDOCS= mi_ecs.pdf mt_ecs.pdf MAKE_JOBS_UNSAFE=yes .endif .include -.if exists(${LOCALBASE}/bin/graphchk) +.if exists(${LOCALBASE}/bin/kmetis) # The regular metis is present, so we cannot depend on metis-edf LIB_DEPENDS+= libmetis.so.1:math/metis4 .else # Prefer metis-edf to avoid conflict with Code_Aster -LIB_DEPENDS+= libmetis.so.0:math/metis-edf +LIB_DEPENDS+= libmetis.so.2:math/metis-edf .endif pre-configure: .if ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e '/^SUBDIRS/s| po| po doc|' ${WRKSRC}/Makefile.in .endif post-install: .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} .endif .include Index: head/science/ecs/files/patch-configure =================================================================== --- head/science/ecs/files/patch-configure (nonexistent) +++ head/science/ecs/files/patch-configure (revision 454339) @@ -0,0 +1,11 @@ +--- configure.orig 2015-05-05 08:41:58 UTC ++++ configure +@@ -12415,7 +12415,7 @@ have_scotch_header=no + have_scotch=no + + # Common library dependencies for SCOTCH +-ecs_scotch_l0="-lm" ++ecs_scotch_l0="-lm $PTHREAD_LIBS" + ecs_scotch_l1="-lz -lm" + ecs_scotch_l2="-lm -lpthread" + ecs_scotch_l3="-lz -lm -lpthread" Property changes on: head/science/ecs/files/patch-configure ___________________________________________________________________ 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