Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2017 22:08:48 +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: r453319 - head/devel/py-pyicu
Message-ID:  <201711012208.vA1M8meI043937@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711012208.vA1M8meI043937>