1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/net/yami4/Makefile
Jan Beich ee26e7c238 net/yami4: unbreak with GCC < 6
posix/io_error_handler.cpp: In function 'void yami::details::handle_io_error_with_code(const char*, int, void (*)(void*, int, const char*), void*)':
posix/io_error_handler.cpp:45: error: 'snprintf' is not a member of 'std'

Reported by:	pkg-fallout (mips64)
2017-12-12 03:21:59 +00:00

34 lines
1.0 KiB
Makefile

# $FreeBSD$
PORTNAME= yami4
PORTVERSION= 1.10.0
PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= http://www.inspirel.com/yami4/files/
DISTNAME= yami4-gpl-1.10.0
MAINTAINER= prog@msobczak.com
COMMENT= Messaging library for distributed systems
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/gpl-3.0.txt
MAKE_ARGS= OPTIONS="${CXXFLAGS}"
CXXFLAGS+= -D_GLIBCXX_USE_C99 # XXX ports/193528
do-build :
${DO_MAKE_BUILD} -C ${WRKSRC}/src/core
${DO_MAKE_BUILD} -C ${WRKSRC}/src/cpp
do-install :
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/yami4
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/yami4/core
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/yami4/cpp
(cd ${WRKSRC}/doc/core && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/doc/yami4/core)
(cd ${WRKSRC}/doc/cpp && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/doc/yami4/cpp)
(cd ${WRKSRC}/include && ${COPYTREE_SHARE} yami4-core ${STAGEDIR}${PREFIX}/include)
(cd ${WRKSRC}/include && ${COPYTREE_SHARE} yami4-cpp ${STAGEDIR}${PREFIX}/include)
(cd ${WRKSRC}/lib && ${INSTALL_DATA} *.a ${STAGEDIR}${PREFIX}/lib)
.include <bsd.port.mk>