Since version 0.7, x11-themes/gtk-qt-engine can optionally use and build-depend on x11-toolkits/libbonoboui. However, the option to enable or disable this does nothing and the dependency is unconditional. The attached patch fixes this. Fix: -LIB_DEPENDS= kdecore:${PORTSDIR}/x11/kdelibs3 \ - bonoboui-2:${PORTSDIR}/x11-toolkits/libbonoboui +LIB_DEPENDS= kdecore:${PORTSDIR}/x11/kdelibs3 USE_BZIP2= yes USE_GMAKE= yes @@ -30,6 +29,10 @@ CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include OPTIONS= BONOBOUI "With libbonoboui (recommended)" on + +.if defined(WITH_BONOBOUI) +LIB_DEPENDS+= bonoboui-2:${PORTSDIR}/x11-toolkits/libbonoboui +.endif pre-configure: @${REINPLACE_CMD} -e "s|/share/themes/|/X11R6/share/themes/|" \--ijJm1RW2Gjq94XfP6rQ7T926kMXg7RpCRxKw6uIHQIDJgYua Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile.orig Sat Aug 5 00:44:33 2006 +++ Makefile Tue Aug 8 01:27:27 2006 @@ -14,8 +14,7 @@ MAINTAINER= danny@ricin.com COMMENT= GTK-QT Theme Engine allows GTK2 apps to use QT (KDE) themes How-To-Repeat: cd /usr/ports/x11-themes/gtk-qt-engine make WITHOUT_BONOBOUI -> x11-toolkits/libbonoboui is still checked for and built if not present
State Changed From-To: open->feedback Awaiting maintainers feedback
Good catch (stupid me). Should be fine to commit. Thanks.
State Changed From-To: feedback->open maintainer approved`
State Changed From-To: open->closed Committed, with minor changes. Thanks!