66 | | variant kde description {Enable KDE4 plugin} { |
67 | | configure.args-append -DQT_QT_INCLUDE_DIR=${prefix}/include/QtCore |
68 | | depends_lib-append port:kdelibs4 |
| 67 | variant kde description {Enable the KDE plugin. Purely optional for normal KDE4 and/or KF5 operation.} { |
| 68 | # this module doesn't introduce any dependencies, but checks for either kreadconfig5 or kreadconfig |
| 69 | # KDE/KF5 ports may decide to depend on libproxy (none do currently) and it's not even sure |
| 70 | # if any KDE software actually uses it on OS X |
| 71 | configure.args-replace \ |
| 72 | -DWITH_KDE=NO -DWITH_KDE=YES |
| 73 | # at least gives us a fighting chance and use the OS X backend so that the system proxy |
| 74 | # settings are detected correctly: |
| 75 | configure.args-replace \ |
| 76 | -DMP_MACOSX=NO -DMP_MACOSX=YES |