Skip to content

Commit

Permalink
graphics/py-python-poppler-qt5: Remove outdated PYTHON_REL check afte…
Browse files Browse the repository at this point in the history
…r lang/python37 removal

Approved by:	portmgr (blanket)
With hat:	python
  • Loading branch information
sunpoet committed Aug 26, 2023
1 parent 1d8c666 commit a681377
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions graphics/py-python-poppler-qt5/Makefile
Expand Up @@ -25,13 +25,7 @@ USE_QT= core gui xml

PLIST_SUB= _PY_SONAME=${_PY_SONAME}

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 30800
_PY_SONAME= .cpython-${PYTHON_SUFFIX}m
.else
_PY_SONAME= ${PYTHON_EXT_SUFFIX}
.endif

do-build:
(cd ${WRKSRC} ; sip-build-${PYTHON_VER} --qmake ${QMAKE} --verbose --no-make --build-dir build ; ${MAKE} -C ./build )
Expand All @@ -43,4 +37,4 @@ post-install:
${RLN} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5${_PY_SONAME}.so ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5.so
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5${_PY_SONAME}.so

.include <bsd.port.post.mk>
.include <bsd.port.mk>

0 comments on commit a681377

Please sign in to comment.