1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/biology/lamarc/Makefile
Tobias Kortkamp e9ce4734b8 biology/lamarc: Fix build with Clang 6
src/tools/mathx.cpp:781:12: error: no matching function for call to 'make_pair'
    return std::make_pair<DoubleVec1d, DoubleVec2d>(eigvals, eigvecs);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/utility:639:1: note: candidate function not viable: no known conversion from 'DoubleVec1d' (aka 'vector<double>') to 'std::__1::vector<double, std::__1::allocator<double> > &&' for 1st argument
make_pair(_T1&& __t1, _T2&& __t2)
^

http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/lamarc-2.1.8_1,1.log
2018-08-25 03:13:37 +00:00

39 lines
799 B
Makefile

# Created by: Johann Visagie <wjv@FreeBSD.org>
# $FreeBSD$
PORTNAME= lamarc
PORTVERSION= 2.1.8
DISTVERSIONSUFFIX= -src
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= biology
MASTER_SITES= http://evolution.genetics.washington.edu/lamarc/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Package of programs for computing population parameters
LICENSE= APACHE20
USE_CXXSTD= c++98
WRKSRC= ${WRKDIR}/${DISTNAME:S,${DISTVERSIONSUFFIX},,}
GNU_CONFIGURE= yes
PORTDOCS= *
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= WXGTK DOCS
WXGTK_USE= WX=2.8
WXGTK_VARS= WX_CONF_ARGS=absolute
WXGTK_PLIST_FILES= bin/lam_conv
WXGTK_CONFIGURE_OFF= --disable-converter
WXGTK_BROKEN= does not build
post-patch:
@${REINPLACE_CMD} -e \
's|/html/lamarc|/${DOCSDIR_REL}|' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>