Date: Thu, 25 Aug 2011 04:38:20 GMT From: Anon <dkeav04@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/160164: [PATCH] x11/kdebase4-workspace - make astro/gpsd dependency optional Message-ID: <201108250438.p7P4cKkq024456@red.freebsd.org> Resent-Message-ID: <201108250440.p7P4e8S2057138@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 160164 >Category: ports >Synopsis: [PATCH] x11/kdebase4-workspace - make astro/gpsd dependency optional >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 25 04:40:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Anon >Release: 9.0-BETA1 >Organization: Anon >Environment: FreeBSD fbsd-dev01 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Thu Jul 28 17:15:31 UTC 2011 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: KDE4 pulls in astro/gpsd by default which is most likely not needed for most desktop/workstation/server users. This dependency does not take up much space or cause a problem currently (unless libgps gets too old) but its just one more piece of bloat that few people need in the default install. >How-To-Repeat: >Fix: *** Makefile.orig Mon May 16 14:26:42 2011 --- Makefile Wed Aug 24 23:26:25 2011 *************** *** 26,32 **** pci.3:${PORTSDIR}/devel/libpci \ hal.1:${PORTSDIR}/sysutils/hal \ xklavier.12:${PORTSDIR}/x11/libxklavier \ - gps.20:${PORTSDIR}/astro/gpsd \ qalculate.5:${PORTSDIR}/math/libqalculate \ dmtx.0:${PORTSDIR}/graphics/libdmtx RUN_DEPENDS= ${KDE4_PREFIX}/env/xdg-env.sh:${PORTSDIR}/misc/kde4-xdg-env \ --- 26,31 ---- *************** *** 67,76 **** -DWITH_Xmms:BOOL=OFF \ -DWITH_Googlegadgets:BOOL=OFF \ -DWITH_PyKDE4:BOOL=OFF #PyKDE4, Xmms and Googlegadgets could be enabled, OPTIONS= PLASMA_PYTHON "Support for plasmoids written in Python" off \ ! PLASMA_RUBY "Support for plasmoids written in Ruby" off .include <bsd.port.options.mk> --- 66,77 ---- -DWITH_Xmms:BOOL=OFF \ -DWITH_Googlegadgets:BOOL=OFF \ -DWITH_PyKDE4:BOOL=OFF + #PyKDE4, Xmms and Googlegadgets could be enabled, OPTIONS= PLASMA_PYTHON "Support for plasmoids written in Python" off \ ! PLASMA_RUBY "Support for plasmoids written in Ruby" off \ ! LIBGPS "Support for Geolocation Plasmoids" off .include <bsd.port.options.mk> *************** *** 82,87 **** --- 83,95 ---- RUN_DEPENDS+= ${KDE4_PREFIX}/share/apps/plasma_scriptengine_ruby/applet.rb:${PORTSDIR}/x11/plasma-scriptengine-ruby .endif + .if defined(WITH_LIBGPS) + LIB_DEPENDS+= gps.20:${PORTSDIR}/astro/gpsd + CMAKE_ARGS+= -DWITH_libgps:BOOL=ON + .else + CMAKE_ARGS+= -DWITH_libgps:BOOL=OFF + .endif + .if ${OSVERSION} < 800069 LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb .endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108250438.p7P4cKkq024456>