Date: Tue, 30 Sep 2014 17:39:25 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r369649 - head/math/parmetis Message-ID: <201409301739.s8UHdPqD017569@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409301739.s8UHdPqD017569>