Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2014 22:52:02 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342478 - head/textproc/py-libxslt
Message-ID:  <201402032252.s13Mq2lF022800@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Feb  3 22:52:01 2014
New Revision: 342478
URL: http://svnweb.freebsd.org/changeset/ports/342478
QAT: https://qat.redports.org/buildarchive/r342478/

Log:
  Fix paths inside .py[co] files

Modified:
  head/textproc/py-libxslt/Makefile

Modified: head/textproc/py-libxslt/Makefile
==============================================================================
--- head/textproc/py-libxslt/Makefile	Mon Feb  3 22:48:39 2014	(r342477)
+++ head/textproc/py-libxslt/Makefile	Mon Feb  3 22:52:01 2014	(r342478)
@@ -24,7 +24,9 @@ DOCSDIR=	${PREFIX}/share/doc/py-libxslt
 EXAMPLESDIR=	${PREFIX}/share/examples/py-libxslt
 
 post-install:
-	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${STAGEDIR}${PYTHON_SITELIBDIR}
-	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -l ${STAGEDIR}${PYTHON_SITELIBDIR}
+	@cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
+		-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}/;;}
 
 .include "${MASTERDIR}/Makefile"



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