Date: Mon, 11 Sep 2017 08:23:14 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r449612 - head/devel/py-pyicu Message-ID: <201709110823.v8B8NEOW017281@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Mon Sep 11 08:23:14 2017 New Revision: 449612 URL: https://svnweb.freebsd.org/changeset/ports/449612 Log: devel/py-pyicu: switch to C++11, required by ICU >= 59 In file included from _icu.cpp:27: In file included from ./common.h:90: In file included from /usr/local/include/unicode/utypes.h:38: /usr/local/include/unicode/umachine.h:347:13: error: unknown type name 'char16_t' typedef char16_t UChar; ^ PR: 218788 Modified: head/devel/py-pyicu/Makefile (contents, props changed) Modified: head/devel/py-pyicu/Makefile ============================================================================== --- head/devel/py-pyicu/Makefile Mon Sep 11 08:23:03 2017 (r449611) +++ head/devel/py-pyicu/Makefile Mon Sep 11 08:23:14 2017 (r449612) @@ -3,7 +3,7 @@ PORTNAME= pyicu PORTVERSION= 1.9.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,14 +15,17 @@ COMMENT= Python extension wrapping IBM's ICU C++ API # LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +LIB_DEPENDS= libicudata.so:devel/icu + USES?= python +USES+= compiler:c++11-lib +USE_CXXSTD= gnu++11 USE_PYTHON= distutils autoplist -MAKE_ENV+= PYICU_INCLUDES="${PREFIX}/include" \ - PYICU_CFLAGS="-w:-DPYICU_VER=\"${PORTVERSION}\"" \ - PYICU_LFLAGS="-L${PREFIX}/lib" - -LIB_DEPENDS+= libicudata.so:devel/icu +MAKE_ENV+= PYICU_INCLUDES="${LOCALBASE}/include" \ + PYICU_CFLAGS="${CXXFLAGS:ts:}" \ + PYICU_LFLAGS="-L${LOCALBASE}/lib" +CFLAGS+= -w -DPYICU_VER=\"${PORTVERSION}\" pre-configure: @if [ ! -e ${LOCALBASE}/lib/libicule.so ]; then \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709110823.v8B8NEOW017281>