summaryrefslogtreecommitdiffstats
path: root/math/clp/Makefile
blob: 183c18a38a4b7173e3fb54a7b35c2ecea671cfb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Created by: Robin Schilham
# $FreeBSD$

PORTNAME=	Clp
PORTVERSION=	1.16.10
PORTREVISION=	3
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

BROKEN_powerpc64=	fails to compile: CoinSignal.hpp: ISO C++ forbids declaration of '__decltype' with no type

USES=		blaslapack fortran libtool tar:tgz pathfix
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
PORTDOCS=	*

DEBUG_CXXFLAGS=	-fomit-frame-pointer

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so

.include <bsd.port.mk>
OpenPOWER on IntegriCloud