svn commit: r369649 - head/math/parmetis

John Marino marino at FreeBSD.org
Tue Sep 30 17:39:26 UTC 2014


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 \


More information about the svn-ports-head mailing list