mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
a0bcd2cf68
PR: 213195 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D8093
40 lines
898 B
Makefile
40 lines
898 B
Makefile
# Created by: Victor Yagofarov <xnasx@yandex.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= librdkafka
|
|
PORTVERSION= 0.9.1
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Apache Kafka C/C++ library
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= bash:shells/bash
|
|
|
|
BROKEN_mips= Fails to build: undefined reference to __sync_add_and_fetch_4
|
|
BROKEN_mips64= Fails to build: undefined reference to __sync_add_and_fetch_4
|
|
BROKEN_sparc64= Fails to build: internal compiler error
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= edenhill
|
|
|
|
USES= gmake perl5 python shebangfix ssl
|
|
SHEBANG_FILES= lds-gen.py
|
|
GNU_CONFIGURE= yes
|
|
MAKE_ARGS= pkgconfigdir=${PREFIX}/libdata/pkgconfig
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 && ${ARCH} == "i386"
|
|
CFLAGS+= -march=pentium
|
|
.endif
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*
|
|
|
|
.include <bsd.port.post.mk>
|