diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2019-03-18 21:35:10 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2019-03-18 21:35:10 +0000 |
commit | edaf3a87d855af9512dc444a1b184d5d50f614a2 (patch) | |
tree | 176c16df3b3f167defecfaee1655aaf33c32286e | |
parent | Update to 36 (diff) |
print/lyx: Correct the python executable location in .py, .cpp, .lyx files; Add missing USExx clauses
lyx was broken without being able to call the python executable.
PR: 236619
Approved by: rakuco
MFH: 2019Q1
Notes
Notes:
svn path=/head/; revision=496214
-rw-r--r-- | print/lyx/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/print/lyx/Makefile b/print/lyx/Makefile index 593f8d8e663c..104a278c3e76 100644 --- a/print/lyx/Makefile +++ b/print/lyx/Makefile @@ -3,7 +3,7 @@ PORTNAME= lyx PORTVERSION= ${MAJOR_VERSION}.${MINOR_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print editors MASTER_SITES= ftp://ftp.lyx.org/pub/lyx/stable/${MAJOR_VERSION}.x/ \ http://www-ftp.lip6.fr/ftp/pub/lyx/stable/${MAJOR_VERSION}.x/ \ @@ -24,7 +24,8 @@ MINOR_VERSION= 2 USES= compiler:c++11-lang desktop-file-utils gmake iconv pkgconfig \ perl5 python:2.7 qt:5 shebangfix tar:xz -USE_QT= core concurrent gui svg widgets buildtools_build qmake_build +USE_QT= core concurrent gui svg widgets x11extras buildtools_build qmake_build +USE_XORG= xcb GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-included-boost \ --without-included-mythes \ @@ -55,4 +56,7 @@ HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell NLS_CONFIGURE_OFF= --disable-nls NLS_USES= gettext +post-patch: + @${GREP} -rl "python -tt" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -i '' 's|python -tt|${PYTHON_CMD} -tt|' + .include <bsd.port.mk> |