From owner-svn-ports-all@freebsd.org Wed Nov 1 22:08:49 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2030EE6571B; Wed, 1 Nov 2017 22:08:49 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E1ACD83D06; Wed, 1 Nov 2017 22:08:48 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vA1M8moi043938; Wed, 1 Nov 2017 22:08:48 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vA1M8meI043937; Wed, 1 Nov 2017 22:08:48 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201711012208.vA1M8meI043937@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 1 Nov 2017 22:08:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453319 - head/devel/py-pyicu X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/devel/py-pyicu X-SVN-Commit-Revision: 453319 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 22:08:49 -0000 Author: jbeich Date: Wed Nov 1 22:08:47 2017 New Revision: 453319 URL: https://svnweb.freebsd.org/changeset/ports/453319 Log: devel/py-pyicu: respect CXXFLAGS and LOCALBASE PR: 222263 Approved by: maintainer timeout (1 month) Modified: head/devel/py-pyicu/Makefile (contents, props changed) Modified: head/devel/py-pyicu/Makefile ============================================================================== --- head/devel/py-pyicu/Makefile Wed Nov 1 21:24:08 2017 (r453318) +++ head/devel/py-pyicu/Makefile Wed Nov 1 22:08:47 2017 (r453319) @@ -3,7 +3,7 @@ PORTNAME= pyicu PORTVERSION= 1.9.4 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,14 +15,15 @@ COMMENT= Python extension wrapping IBM's ICU C++ API # LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +LIB_DEPENDS= libicudata.so:devel/icu + USES?= python 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 \