ports/93714: Minor enhancement for math/metis port (amd64 only)

Pedro F. Giffuni giffunip at asme.org
Wed Feb 22 17:50:21 UTC 2006

>Number:         93714
>Category:       ports
>Synopsis:       Minor enhancement for math/metis port (amd64 only)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 22 17:50:11 GMT 2006
>Originator:     Pedro F. Giffuni
>Release:        6.0-Release
FreeBSD etoile.cable.net.co 6.0-RELEASE FreeBSD 6.0-RELEASE #12: Sat Feb 11 13:45:47 COT 2006     root at etoile.cable.net.co:/usr/src/sys/amd64/compile/DIMENSION  amd64

              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.

Pet portlint while here.
              patch follows:
diff -ruN metis.orig/Makefile metis/Makefile
--- metis.orig/Makefile	Sun Feb 19 23:33:59 2006
+++ metis/Makefile	Wed Feb 22 12:35:03 2006
@@ -13,13 +13,21 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A package for unstructured graph partitioning
-CONFLICTS=	metis-edf-*
+CONFLICTS=	metis-edf-[0-9]*
 PROGRAMS=	graphchk kmetis mesh2dual mesh2nodal	\
 		oemetis onmetis partnmesh partdmesh pmetis
+.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64"
+		${WRKSRC}/Makefile.in
 .for p in ${PROGRAMS}
@@ -32,4 +40,4 @@
 	${INSTALL_DATA} ${WRKSRC}/Doc/manual.ps ${DOCSDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the freebsd-ports-bugs mailing list