From ef9b8c21ef56251d89fd44b01349fd7d12e00d70 Mon Sep 17 00:00:00 2001 From: thierry Date: Wed, 22 Feb 2006 18:47:27 +0000 Subject: Add -fPIC for amd64, this will help CalculiX build on amd64 when the atlas libraries are not build statically. For now a shared library, and therefore a run dependency to the ports that build with metis, is not convenient. Since I'm there, fix MASTER_SITES. PR: 93714 Submitted by: Pedro F. Giffuni --- math/metis/Makefile | 15 ++++++++++++--- math/metis4/Makefile | 15 ++++++++++++--- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/math/metis/Makefile b/math/metis/Makefile index c921eb018bf5..84a6d2c1cdcd 100644 --- a/math/metis/Makefile +++ b/math/metis/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 + +.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 +.include 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 + +.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 +.include -- cgit arn/devel/electron4/files/node-fetch-2.6.1'>dependabot/npm_and_yarn/devel/electron4/files/node-fetch-2.6.1 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Update WWWSunpoet Po-Chuan Hsieh2018-05-281-1/+1