diff options
author | John Marino <marino@FreeBSD.org> | 2014-09-30 17:39:25 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-09-30 17:39:25 +0000 |
commit | 66a9794d08759b2dfaec65e16d0a6ba4192145c6 (patch) | |
tree | 06ef25db952edb429c7dbbf84db6a16e0a8dc998 /math/parmetis/Makefile | |
parent | Update from 1.7.5 to 1.7.6. (diff) |
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.
Diffstat (limited to 'math/parmetis/Makefile')
-rw-r--r-- | math/parmetis/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/math/parmetis/Makefile b/math/parmetis/Makefile index f8b662702b2e..b511e031a6a3 100644 --- a/math/parmetis/Makefile +++ b/math/parmetis/Makefile @@ -17,13 +17,15 @@ LICENSE_NAME= University of Minnesota METIS License 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 \ |