diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2006-02-22 18:47:27 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2006-02-22 18:47:27 +0000 |
commit | fe139b16b0d197e2748ced4fae950ab9ff0e52c0 (patch) | |
tree | dfd96fbc79bdbf0a00bf91a39eca34002a902a78 /math/metis4 | |
parent | 464821776f0341d871209e3e46432101f2144cf9 (diff) | |
download | ports-fe139b16b0d197e2748ced4fae950ab9ff0e52c0.tar.gz ports-fe139b16b0d197e2748ced4fae950ab9ff0e52c0.zip |
Notes
Diffstat (limited to 'math/metis4')
-rw-r--r-- | math/metis4/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/math/metis4/Makefile b/math/metis4/Makefile index c921eb018bf5..84a6d2c1cdcd 100644 --- a/math/metis4/Makefile +++ b/math/metis4/Makefile @@ -8,18 +8,27 @@ 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 <bsd.port.pre.mk> + +.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 @@ -32,4 +41,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/Doc/manual.ps ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |