Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2016 18:56:04 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r419405 - branches/2016Q3/graphics/py-cairo
Message-ID:  <201607311856.u6VIu4e8098314@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Jul 31 18:56:04 2016
New Revision: 419405
URL: https://svnweb.freebsd.org/changeset/ports/419405

Log:
  MFH: r419081
  
  graphics/py-cairo: clean up
  
  - PYTHON_CMD already contains LOCALBASE
  - PYTHON is already passed to CONFIGURE_ENV
  - PREFIX and *FLAGS are redundant
  - Respect PREFIX != LOCALBASE while stripping [1]
  
  PR:		202911
  Submitted by:	John Hein <z7dr6ut7gs@snkmail.com>
  Approved by:	maintainer timeout (11 months)
  Approved by:	portmgr blanket [1]
  Approved by:	ports-secteam (feld)

Modified:
  branches/2016Q3/graphics/py-cairo/Makefile
Directory Properties:
  branches/2016Q3/   (props changed)

Modified: branches/2016Q3/graphics/py-cairo/Makefile
==============================================================================
--- branches/2016Q3/graphics/py-cairo/Makefile	Sun Jul 31 18:51:02 2016	(r419404)
+++ branches/2016Q3/graphics/py-cairo/Makefile	Sun Jul 31 18:56:04 2016	(r419405)
@@ -15,10 +15,6 @@ COMMENT=	Python 2 bindings for Cairo
 
 USES=		pkgconfig python:2 shebangfix tar:bzip2 waf
 USE_GNOME=	cairo
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-CONFIGURE_ENV=	PYTHON=${LOCALBASE}/bin/${PYTHON_CMD} \
-		PREFIX=${PREFIX}
 
 SHEBANG_FILES=	examples/*.py examples/*/*.py test/*.py
 
@@ -27,6 +23,6 @@ post-install:
 		-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}
 	@cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
 		-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cairo/_cairo.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cairo/_cairo.so
 
 .include <bsd.port.mk>



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