f286c2ebbb
This port does some strange stuff, like undefining BYTE_ORDER macro,
because of which it fails to build:
In file included from src/unisock.cpp:28:
/usr/include/netinet/tcp.h: In function 'uint16_t __tcp_get_flags(const tcphdr*)':
/usr/include/netinet/tcp.h:85:32: error: 'const struct tcphdr' has no member named 'th_x2'
85 | return (((uint16_t)th->th_x2 << 8) | th->th_flags);
| ^~~~~
/usr/include/netinet/tcp.h: In function 'void __tcp_set_flags(tcphdr*, uint16_t)':
/usr/include/netinet/tcp.h:91:13: error: 'struct tcphdr' has no member named 'th_x2'
91 | th->th_x2 = (flags >> 8) & 0x0f;
| ^~~~~
37 lines
720 B
Makefile
37 lines
720 B
Makefile
PORTNAME= fastdb
|
|
PORTVERSION= 3.75
|
|
PORTREVISION= 8
|
|
CATEGORIES= databases
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Main Memory Relational Database Management System
|
|
WWW= https://sourceforge.net/projects/fastdb/
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= gmake dos2unix
|
|
USE_GCC= yes
|
|
MAKE_ENV= OSTYPE="${OPSYS}"
|
|
MAKEFILE= makefile
|
|
USE_LDCONFIG= yes
|
|
DOS2UNIX_FILES= ${MAKEFILE} \
|
|
inc/stdtp.h \
|
|
src/unisock.cpp
|
|
CXXFLAGS+= -D_WANT_SEMUN
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PORTDOCS= FastDB.htm
|
|
|
|
# The port does not build with C++11 or later (bug 219275).
|
|
USE_CXXSTD= gnu++98
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/FastDB.htm ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|