Date: Mon, 18 Apr 2011 02:35:11 GMT From: Doug Barton <dougb@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/156462: Add OPTION to disable phonon support to misc/qtconfig Message-ID: <201104180235.p3I2ZBIS024007@freefall.freebsd.org> Resent-Message-ID: <201104180240.p3I2e54H024166@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 156462 >Category: ports >Synopsis: Add OPTION to disable phonon support to misc/qtconfig >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 18 02:40:05 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Doug Barton >Release: FreeBSD 8.2-STABLE i386 >Organization: AAAG >Environment: DNA >Description: phonon is not required to build this, add an option to avoid it >How-To-Repeat: It would be nice to have an option to disable qt3 compat support as well >Fix: Apply the following patch: Index: Makefile =================================================================== RCS file: /home/pcvs/ports/misc/qt4-qtconfig/Makefile,v retrieving revision 1.18 diff -u -r1.18 Makefile --- Makefile 2 Dec 2010 19:47:12 -0000 1.18 +++ Makefile 18 Apr 2011 02:30:48 -0000 @@ -13,14 +13,14 @@ MAINTAINER= kde@FreeBSD.org COMMENT= Qt graphical configuration utility +OPTIONS= PHONON "Add support for Qt phonon (implies gstreamer)" on + USE_QT_VER= 4 QT_COMPONENTS= qmake_build moc_build rcc_build uic_build qt3support corelib \ - gui sql xml phonon phonon-gst + gui sql xml QT_NONSTANDARD= yes QT_DIST= yes -USE_GSTREAMER= yes - HAS_CONFIGURE= yes ALL_TARGET= first @@ -40,6 +40,13 @@ EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}' .endfor +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_PHONON) +QT_COMPONENTS+= phonon phonon-gst +USE_GSTREAMER= yes +.endif + BUILD_WRKSRC= ${WRKSRC}/tools/${PORTNAME} INSTALL_WRKSRC= ${BUILD_WRKSRC} @@ -55,4 +62,4 @@ ${LN} -sf ${LOCALBASE}/bin/uic-qt4 ${WRKSRC}/bin/uic ${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/bin/rcc -.include <bsd.port.mk> +.include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104180235.p3I2ZBIS024007>