From owner-svn-ports-all@FreeBSD.ORG Tue Sep 30 17:39:26 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D449171; Tue, 30 Sep 2014 17:39:26 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 09791E95; Tue, 30 Sep 2014 17:39:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8UHdPJM017570; Tue, 30 Sep 2014 17:39:25 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8UHdPqD017569; Tue, 30 Sep 2014 17:39:25 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201409301739.s8UHdPqD017569@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Tue, 30 Sep 2014 17:39:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r369649 - head/math/parmetis X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2014 17:39:26 -0000 Author: marino Date: Tue Sep 30 17:39:25 2014 New Revision: 369649 URL: http://svnweb.freebsd.org/changeset/ports/369649 QAT: https://qat.redports.org/buildarchive/r369649/ Log: Unbreak math/parmetis everywhere except FreeBSD 8 There were two issues with the previous commit. - LDFLAGS wsa missing -L argument for libc++ - The libc++.so file is not actually a library, it's a linker script. Specifying libc++.so in LIB_DEPENDS causes the port to fail when it tries to install libc++ twice since it fails to recognize libc++.so as a library. This doesn't fix FreeBSD breakage because it seems that it's missing the C99 math function symbols. Modified: head/math/parmetis/Makefile Modified: head/math/parmetis/Makefile ============================================================================== --- head/math/parmetis/Makefile Tue Sep 30 17:08:23 2014 (r369648) +++ head/math/parmetis/Makefile Tue Sep 30 17:39:25 2014 (r369649) @@ -17,13 +17,15 @@ LICENSE_NAME= University of Minnesota ME LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= auto-accept -LIB_DEPENDS= libc++.so:${PORTSDIR}/devel/libc++ +# libc++.so is a linker script, not a symlink. +# Ignore portlint, the linker needs the actual library specified +LIB_DEPENDS= libc++.so.1:${PORTSDIR}/devel/libc++ OPTIONS_DEFINE= OPENMPI DOCS OPENMPI_DESC= Use openmpi instead of mpich2 USES= cmake gmake -LDFLAGS+= -lc++ +LDFLAGS+= -L${LOCALBASE}/lib -lc++ PLIST_FILES= include/parmetis/metis.h \ include/parmetis/parmetis.h \