Index: head/math/metis/Makefile =================================================================== --- head/math/metis/Makefile (revision 156698) +++ head/math/metis/Makefile (revision 156699) @@ -1,35 +1,44 @@ # New ports collection makefile for: METIS # Date created: 26 Oct 97 # Whom: Pedro Giffuni # # $FreeBSD$ # PORTNAME= metis PORTVERSION= 4.0 CATEGORIES= math -MASTER_SITES= http://www-users.cs.umn.edu/~karypis/metis/metis/files/ +MASTER_SITES= http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/ \ + http://www-users.cs.umn.edu/~karypis/metis/metis/files/ MAINTAINER= ports@FreeBSD.org COMMENT= A package for unstructured graph partitioning -CONFLICTS= metis-edf-* +CONFLICTS= metis-edf-[0-9]* ALL_TARGET= PROGRAMS= graphchk kmetis mesh2dual mesh2nodal \ oemetis onmetis partnmesh partdmesh pmetis +.include + +.if ${ARCH} == "amd64" +post-configure: + @${REINPLACE_CMD} -e 's+COPTIONS =+COPTIONS = -fPIC+;' \ + ${WRKSRC}/Makefile.in +.endif + do-install: .for p in ${PROGRAMS} ${INSTALL_PROGRAM} ${WRKSRC}/${p} ${PREFIX}/bin .endfor @${MKDIR} ${PREFIX}/include/metis ${INSTALL_DATA} ${WRKSRC}/Lib/*.h ${PREFIX}/include/metis ${INSTALL_DATA} ${WRKSRC}/libmetis.a ${PREFIX}/lib .ifndef NOPORTDOCS @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Doc/manual.ps ${DOCSDIR} .endif -.include +.include Property changes on: head/math/metis/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.11 \ No newline at end of property +1.12 \ No newline at end of property Index: head/math/metis4/Makefile =================================================================== --- head/math/metis4/Makefile (revision 156698) +++ head/math/metis4/Makefile (revision 156699) @@ -1,35 +1,44 @@ # New ports collection makefile for: METIS # Date created: 26 Oct 97 # Whom: Pedro Giffuni # # $FreeBSD$ # PORTNAME= metis PORTVERSION= 4.0 CATEGORIES= math -MASTER_SITES= http://www-users.cs.umn.edu/~karypis/metis/metis/files/ +MASTER_SITES= http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/ \ + http://www-users.cs.umn.edu/~karypis/metis/metis/files/ MAINTAINER= ports@FreeBSD.org COMMENT= A package for unstructured graph partitioning -CONFLICTS= metis-edf-* +CONFLICTS= metis-edf-[0-9]* ALL_TARGET= PROGRAMS= graphchk kmetis mesh2dual mesh2nodal \ oemetis onmetis partnmesh partdmesh pmetis +.include + +.if ${ARCH} == "amd64" +post-configure: + @${REINPLACE_CMD} -e 's+COPTIONS =+COPTIONS = -fPIC+;' \ + ${WRKSRC}/Makefile.in +.endif + do-install: .for p in ${PROGRAMS} ${INSTALL_PROGRAM} ${WRKSRC}/${p} ${PREFIX}/bin .endfor @${MKDIR} ${PREFIX}/include/metis ${INSTALL_DATA} ${WRKSRC}/Lib/*.h ${PREFIX}/include/metis ${INSTALL_DATA} ${WRKSRC}/libmetis.a ${PREFIX}/lib .ifndef NOPORTDOCS @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Doc/manual.ps ${DOCSDIR} .endif -.include +.include Property changes on: head/math/metis4/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.11 \ No newline at end of property +1.12 \ No newline at end of property