freebsd-ports/emulators/xbraitenberg/Makefile
Tobias Kortkamp 88fe41ccc4 emulators/xbraitenberg: Fix build with Clang 6
In file included from actuator.cc:5:
In file included from ./vehicle.hh:5:
./vector.hh:10:21: error: 'operator new' cannot be declared static in global scope
static inline void *operator new(size_t, void *v) { return v; }
                    ^

http://beefy11.nyi.freebsd.org/data/head-i386-default/p478276_s338342/logs/errors/xbraitenberg-0.9_2.log
2018-08-31 22:44:47 +00:00

24 lines
502 B
Makefile

# Created by: krion
# $FreeBSD$
PORTNAME= xbraitenberg
PORTVERSION= 0.9
PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= http://www.lcdf.org/~eddietwo/xbraitenberg/
MAINTAINER= ports@FreeBSD.org
COMMENT= Braitenberg vehicle simulator with pseudo-physics
USE_CXXSTD= c++98
USE_XORG= x11 ice sm xext
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_fpermissive=no
PLIST_FILES= bin/xbraitenberg
post-patch:
@${REINPLACE_CMD} -e \
'/operator bool() const/d' ${WRKSRC}/operator.hh
.include <bsd.port.mk>