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.
This commit is contained in:
John Marino 2014-09-30 17:39:25 +00:00
parent f267ba1479
commit 66a9794d08
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369649

View file

@ -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 \