freebsd-ports/databases/tarantool-c/Makefile
Alexey Dokuchaev da8894bebc Respect CFLAGS: particularly, do not pass `-march=native' which some
compilers do not like, which in turn might break the build.
2017-05-27 05:26:56 +00:00

29 lines
826 B
Makefile

# $FreeBSD$
PORTNAME= tarantool-c
PORTVERSION= 1.0.0
PORTREVISION= 1
CATEGORIES= databases
MAINTAINER= vg@FreeBSD.org
COMMENT= C client for Tarantool 1.6+
LIB_DEPENDS= libmsgpuck.so:devel/msgpuck
USE_GITHUB= yes
GH_ACCOUNT= tarantool
GH_TAGNAME= a251965
USES= cmake
CMAKE_ARGS= -DENABLE_BUNDLED_MSGPUCK=false
BROKEN_aarch64= Fails to compile: clang compiler does not support -march=native
BROKEN_armv6= Fails to compile: clang compiler does not support -march=native
BROKEN_mips64= Fails to compile: clang compiler does not support -march=native
BROKEN_powerpc64= Fails to compile: clang compiler does not support -march=native
BROKEN_sparc64= Fails to compile: clang compiler does not support -march=native
post-patch:
@${REINPLACE_CMD} -e '/-O3 -march=native/d' ${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>