# Created by: Valery Komarov # $FreeBSD: head/devel/thrift-c_glib/Makefile 567474 2021-03-06 10:01:09Z mfechner $ PORTNAME= thrift PORTVERSION= ${THRIFT_PORTVERSION} # to keep in sync with thrift PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= APACHE/thrift/${PORTVERSION} DISTNAME= thrift-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= C glib interface to Thrift PKGNAMESUFFIX= -c_glib BUILDIR= ${WRKDIR}/${DISTNAME}/lib/c_glib DISTINFO_FILE= ${.CURDIR}/../thrift/distinfo USES= bison cmake compiler:c++11-lang gnome libtool pathfix \ pkgconfig ssl CMAKE_ON= BUILD_C_GLIB BUILD_SHARED_LIBS CMAKE_OFF= BUILD_CPP BUILD_JAVA BUILD_JAVASCRIPT BUILD_NODEJS BUILD_PYTHON BUILD_HASKELL USE_GNOME= glib20 USE_LDCONFIG= yes .include "../thrift/bsd.thrift.mk" PLIST_SUB+= PORTVERSION="${PORTVERSION}" post-patch: @${REINPLACE_CMD} 's,-Werror,,' ${WRKSRC}/compiler/cpp/Makefile.am \ ${WRKSRC}/lib/rb/ext/extconf.rb .include