pkgsrc-wip/avida2/Makefile
Blue Rats 12ae775308 Updated to pull in latest distfile; Build uses CMAKE now and options
framework. Fails here:

[ 27%] Building CXX object avida-core/CMakeFiles/avidacore.dir/source/actions/DriverActions.cc.o
In file included from /usr/pkgsrc/wip/avida2/work/avida-2.12.4-src/avida-core/source/main/cMutationRates.h:30:0,
                 from /usr/pkgsrc/wip/avida2/work/avida-2.12.4-src/avida-core/source/main/cOrganism.h:31,
                 from /usr/pkgsrc/wip/avida2/work/avida-2.12.4-src/avida-core/source/main/cStats.h:38,
                 from /usr/pkgsrc/wip/avida2/work/avida-2.12.4-src/avida-core/source/actions/DriverActions.cc:28:
/usr/pkgsrc/wip/avida2/work/avida-2.12.4-src/avida-core/source/tools/cRandom.h:255:65: error: redefinition of 'template<class ForwardIterator, class T> void std::iota(ForwardIterator, ForwardIterator, T)'
/usr/include/g++/bits/stl_numeric.h:81:72: error: 'template<class _ForwardIterator, class _Tp> void std::iota(_ForwardIterator, _ForwardIterator, _Tp)' previously declared here
*** Error code 1
2013-01-20 01:10:40 +00:00

24 lines
559 B
Makefile

# $NetBSD: Makefile,v 1.14 2013/01/20 01:10:40 othyro Exp $
#
DISTNAME= avida-2.12.4-src
PKGNAME= ${DISTNAME:S/-src//1}
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=avida/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://avida.devosoft.org/
COMMENT= Avida is an auto-adaptive genetic system
LICENSE= gnu-gpl-v3
USE_LANGUAGES= c c++
USE_CMAKE= yes
CMAKE_ARGS+= -DAVD_CMDLINE=ON
.include "options.mk"
pre-configure:
${MKDIR} ${WRKSRC}/build;
cd ${WRKSRC}/build && ${SETENV} ${CONFIGURE_ARGS} ${CMAKE} ..
.include "../../mk/bsd.pkg.mk"