diff options
author | thierry <thierry@FreeBSD.org> | 2011-01-03 01:43:45 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2011-01-03 01:43:45 +0800 |
commit | cc6209adf11beeabcf602536caa5a1ceb1e9089e (patch) | |
tree | 3831b385fa77ccef9288a7a77614b63344db96e8 /french/eficas | |
parent | 4d59d4c89c80beed50b3ec34c31ad4c06c6b6fed (diff) | |
download | freebsd-ports-gnome-cc6209adf11beeabcf602536caa5a1ceb1e9089e.tar.gz freebsd-ports-gnome-cc6209adf11beeabcf602536caa5a1ceb1e9089e.tar.zst freebsd-ports-gnome-cc6209adf11beeabcf602536caa5a1ceb1e9089e.zip |
Fix qtEficas, and re-enable it by default, by replacing QListBoxItem by
QListWidgetItem.
Obtained from: Code_Aster forums (bjng)
Diffstat (limited to 'french/eficas')
-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 |