diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2011-01-02 17:43:45 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2011-01-02 17:43:45 +0000 |
commit | 455c214f570c7edc7317a75e92cf59970afc56b9 (patch) | |
tree | 9d9c72407bcb06fa3406ee03700265863be92c9b | |
parent | Remove this post-extract target to avoid autotools regeneration. (diff) |
Fix qtEficas, and re-enable it by default, by replacing QListBoxItem by
QListWidgetItem.
Obtained from: Code_Aster forums (bjng)
Notes
Notes:
svn path=/head/; revision=267287
-rw-r--r-- | french/eficas/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/french/eficas/Makefile b/french/eficas/Makefile index 71554997eb4b..49e16112cb0c 100644 --- a/french/eficas/Makefile +++ b/french/eficas/Makefile @@ -7,6 +7,7 @@ PORTNAME= eficas DISTVERSION= 2.1.1-1 +PORTREVISION= 1 CATEGORIES= french cad MAINTAINER= ports@FreeBSD.org @@ -37,12 +38,11 @@ EF_LANG= fr EF_LANG= ang .endif -.if defined(WITH_QT) +.if !defined(WITHOUT_QT) RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui \ ${PYTHON_SITELIBDIR}/PyQt4/QtAssistant.so:${PORTSDIR}/devel/py-qt4-assistant SUB_FILES+= qtEficas PLIST_SUB+= QT4="" -IGNORE= qtEficas fails ATM ('QListBoxItem*' is not supported as a slot argument type) .else PLIST_SUB+= QT4="@comment " .endif @@ -68,6 +68,7 @@ pre-configure: ${REINPLACE_CMD} -e "s|'/bin/bash'|'${LOCALBASE}/bin/bash'|" \ ${WRKSRC}/Aster/Cata/${cata} .endfor + ${REINPLACE_CMD} -e 's|QListBoxItem\*|QListWidgetItem*|' ${WRKSRC}/InterfaceQT4/*.py do-install: ${MKDIR} ${EFICASDIR} @@ -77,7 +78,7 @@ do-install: @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${EFICASDIR} @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${EFICASDIR} ${INSTALL_SCRIPT} ${WRKDIR}/eficas ${PREFIX}/bin -.if defined(WITH_QT) +.if !defined(WITHOUT_QT) ${INSTALL_SCRIPT} ${WRKDIR}/qtEficas ${PREFIX}/bin .endif |