From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 22 17:50:21 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 972CB16A420 for ; Wed, 22 Feb 2006 17:50:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 359D943D78 for ; Wed, 22 Feb 2006 17:50:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1MHoC3V034700 for ; Wed, 22 Feb 2006 17:50:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1MHoBMe034699; Wed, 22 Feb 2006 17:50:12 GMT (envelope-from gnats) Resent-Date: Wed, 22 Feb 2006 17:50:12 GMT Resent-Message-Id: <200602221750.k1MHoBMe034699@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Pedro F. Giffuni" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 293C316A422 for ; Wed, 22 Feb 2006 17:42:54 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B15843D76 for ; Wed, 22 Feb 2006 17:42:50 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k1MHgoDx066335 for ; Wed, 22 Feb 2006 17:42:50 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k1MHgoth066334; Wed, 22 Feb 2006 17:42:50 GMT (envelope-from nobody) Message-Id: <200602221742.k1MHgoth066334@www.freebsd.org> Date: Wed, 22 Feb 2006 17:42:50 GMT From: "Pedro F. Giffuni" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/93714: Minor enhancement for math/metis port (amd64 only) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 17:50:21 -0000 >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 >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 22 17:50:11 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Pedro F. Giffuni >Release: 6.0-Release >Organization: >Environment: FreeBSD etoile.cable.net.co 6.0-RELEASE FreeBSD 6.0-RELEASE #12: Sat Feb 11 13:45:47 COT 2006 root@etoile.cable.net.co:/usr/src/sys/amd64/compile/DIMENSION amd64 >Description: 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. >How-To-Repeat: >Fix: 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@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 +40,4 @@ ${INSTALL_DATA} ${WRKSRC}/Doc/manual.ps ${DOCSDIR} .endif -.include +.include >Release-Note: >Audit-Trail: >Unformatted: