freebsd-ports/databases/gigabase/Makefile

29 lines
592 B
Makefile
Raw Normal View History

# Created by: Sergey A. Osokin <osa@FreeBSD.org.ru>
# $FreeBSD$
PORTNAME= gigabase
2014-06-18 09:41:51 +02:00
PORTVERSION= 3.91
PORTREVISION= 4
CATEGORIES= databases
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-src/${PORTVERSION} \
http://www.garret.ru/
2014-02-06 04:17:07 +01:00
MAINTAINER= ports@FreeBSD.org
2003-02-20 18:07:10 +01:00
COMMENT= Object-Relational Database Management System
2014-06-18 09:41:51 +02:00
LICENSE= MIT
WRKSRC= ${WRKDIR}/${PORTNAME}
2015-04-18 21:09:03 +02:00
GNU_CONFIGURE= yes
USES= autoreconf dos2unix gmake libtool
DOS2UNIX_FILES= Makefile.in configure.in *.cpp *.h
2014-06-18 09:41:51 +02:00
USE_GCC= any
databases/gigabase: work around GCC >= 6 bustage testtimeseries.cpp: In function 'float fmax(float, float)': testtimeseries.cpp:50:35: error: 'float fmax(float, float)' conflicts with a previous declaration inline float fmax(float x, float y) { return x > y ? x : y; } ^ In file included from /usr/local/lib/gcc6/include/c++/math.h:36:0, from testtimeseries.cpp:15: /usr/local/lib/gcc6/include/c++/cmath:1452:3: note: previous declaration 'constexpr float std::fmax(float, float)' fmax(float __x, float __y) ^~~~ testtimeseries.cpp: In function 'float fmin(float, float)': testtimeseries.cpp:51:35: error: 'float fmin(float, float)' conflicts with a previous declaration inline float fmin(float x, float y) { return x < y ? x : y; } ^ In file included from /usr/local/lib/gcc6/include/c++/math.h:36:0, from testtimeseries.cpp:15: /usr/local/lib/gcc6/include/c++/cmath:1472:3: note: previous declaration 'constexpr float std::fmin(float, float)' fmin(float __x, float __y) ^~~~ testtimeseries.cpp: In function 'int main(int, char**)': testtimeseries.cpp:69:54: error: call of overloaded 'fmax(float&, float&)' is ambiguous quote.high = fmax(quote.open, quote.close); ^ In file included from /usr/local/lib/gcc6/include/c++/cmath:45:0, from /usr/local/lib/gcc6/include/c++/math.h:36, from testtimeseries.cpp:15: /usr/include/math.h:309:8: note: candidate: double fmax(double, double) double fmax(double, double) __pure2; ^~~~ In file included from /usr/local/lib/gcc6/include/c++/math.h:36:0, from testtimeseries.cpp:15: /usr/local/lib/gcc6/include/c++/cmath:1463:5: note: candidate: constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::fmax(_Tp, _Up) [with _Tp = float; _Up = float; typename __gnu_cxx::__promote_2<_Tp, _Up>::__type = float] fmax(_Tp __x, _Up __y) ^~~~ /usr/local/lib/gcc6/include/c++/cmath:1456:3: note: candidate: constexpr long double std::fmax(long double, long double) fmax(long double __x, long double __y) ^~~~ /usr/local/lib/gcc6/include/c++/cmath:1452:3: note: candidate: constexpr float std::fmax(float, float) fmax(float __x, float __y) ^~~~ testtimeseries.cpp:50:14: note: candidate: float fmax(float, float) inline float fmax(float x, float y) { return x > y ? x : y; } ^~~~ testtimeseries.cpp:70:53: error: call of overloaded 'fmin(float&, float&)' is ambiguous quote.low = fmin(quote.open, quote.close); ^ In file included from /usr/local/lib/gcc6/include/c++/cmath:45:0, from /usr/local/lib/gcc6/include/c++/math.h:36, from testtimeseries.cpp:15: /usr/include/math.h:310:8: note: candidate: double fmin(double, double) double fmin(double, double) __pure2; ^~~~ In file included from /usr/local/lib/gcc6/include/c++/math.h:36:0, from testtimeseries.cpp:15: /usr/local/lib/gcc6/include/c++/cmath:1483:5: note: candidate: constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::fmin(_Tp, _Up) [with _Tp = float; _Up = float; typename __gnu_cxx::__promote_2<_Tp, _Up>::__type = float] fmin(_Tp __x, _Up __y) ^~~~ /usr/local/lib/gcc6/include/c++/cmath:1476:3: note: candidate: constexpr long double std::fmin(long double, long double) fmin(long double __x, long double __y) ^~~~ /usr/local/lib/gcc6/include/c++/cmath:1472:3: note: candidate: constexpr float std::fmin(float, float) fmin(float __x, float __y) ^~~~ testtimeseries.cpp:51:14: note: candidate: float fmin(float, float) inline float fmin(float x, float y) { return x < y ? x : y; } ^~~~ PR: 219275
2017-05-14 20:30:38 +02:00
USE_CXXSTD= gnu++98
USE_LDCONFIG= yes
2015-06-07 17:23:23 +02:00
post-build:
${STRIP_CMD} ${WRKSRC}/.libs/*.so
2011-11-07 04:25:29 +01:00
.include <bsd.port.mk>