Skip to content

Commit

Permalink
www/py-django50: unbreak build with HTMLDOCS on (+)
Browse files Browse the repository at this point in the history
docs/Makefile composed with gmake instructions, so call gmake as build dependency when needed

Reported by:	poudriere failure
Approved by:	portmgr blanket (trivial build fix)
  • Loading branch information
fluffykhv committed Apr 22, 2024
1 parent 9ff6d0e commit 270bb8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/py-django50/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ HTMLDOCS_DESC= Install HTML documentation (requires Sphinx)

HTMLDOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
HTMLDOCS_IMPLIES= DOCS
HTMLDOCS_USES= gmake
PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2@${PY_FLAVOR}
MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=1.3.13:databases/py-mysqlclient@${PY_FLAVOR}
SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
Expand All @@ -59,7 +60,7 @@ IGNORE= requires Python 3.10 or later
.endif

post-build-HTMLDOCS-on:
cd ${WRKSRC}/docs && ${MAKE} html SPHINXBUILD=sphinx-build-${PYTHON_VER}
cd ${WRKSRC}/docs && ${GMAKE} html SPHINXBUILD=sphinx-build-${PYTHON_VER}

post-install:
${INSTALL_MAN} ${WRKSRC}/docs/man/* ${STAGEDIR}/${PREFIX}/share/man/man1
Expand Down

0 comments on commit 270bb8d

Please sign in to comment.