From 83b2c42829a5c1d14c18705e4c2e9015050b5f82 Mon Sep 17 00:00:00 2001 From: shadchin Date: Sat, 16 Apr 2016 16:35:59 +0000 Subject: [PATCH] Unbreak after update py-sphinx. Noticed nigel@ and naddy@. ok nigel@, ajocoutot@ --- databases/py-mysql/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/databases/py-mysql/Makefile b/databases/py-mysql/Makefile index 960a19688c5..d558a205c5d 100644 --- a/databases/py-mysql/Makefile +++ b/databases/py-mysql/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.51 2016/04/15 08:53:49 shadchin Exp $ +# $OpenBSD: Makefile,v 1.52 2016/04/16 16:35:59 shadchin Exp $ COMMENT = Python interface to MySQL MODPY_EGG_VERSION = 1.2.5 DISTNAME = MySQL-python-${MODPY_EGG_VERSION} PKGNAME = py-mysql-${MODPY_EGG_VERSION} -REVISION = 3 +REVISION = 4 CATEGORIES = databases @@ -37,7 +37,9 @@ post-extract: DOCSRC = ${WRKSRC}/doc post-build: - cd ${DOCSRC} && ${LOCALBASE}/bin/sphinx-build -N . _build/html + ${MODPY_CMD} build_ext --inplace + cd ${DOCSRC} && PYTHONPATH=${WRKSRC} \ + ${LOCALBASE}/bin/sphinx-build -N . _build/html DOCS = ${PREFIX}/share/doc/py-mysql