freebsd-ports/math/clp/Makefile
Mark Linimon aecf049634 Fix build on gcc-based archs by updating USES.
Tested on powerpc64 and amd64 (for no regression).

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2018-09-22 05:30:31 +00:00

37 lines
797 B
Makefile

# Created by: Robin Schilham
# $FreeBSD$
PORTNAME= Clp
PORTVERSION= 1.16.10
PORTREVISION= 5
CATEGORIES= math
MASTER_SITES= http://www.coin-or.org/download/source/${PORTNAME}/ \
http://www.mavetju.org/download/adopted/
MAINTAINER= co9co9@gmail.com
COMMENT= Linear Programming Solver
LICENSE= EPL
USES= blaslapack compiler:c++11-lang fortran libtool pathfix tar:tgz
CXXFLAGS+= -ffast-math
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
TEST_TARGET= unitTest
TEST_WRKSRC= ${WRKSRC}/${PORTNAME}
CONFIGURE_ARGS= --with-lapack-lib="${LAPACKLIB} -L${LOCALBASE}/lib" \
--with-blas-lib="${BLASLIB} -L${LOCALBASE}/lib" \
--datadir=${DATADIR}
OPTIONS_DEFINE= DEBUG DOCS
PORTDOCS= *
DEBUG_CXXFLAGS= -fomit-frame-pointer
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
.include <bsd.port.mk>