Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2013 12:26:41 GMT
From:      Pavel Gubin <pg@2lazy.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183614: net/freerdp unnecessarily depends on print/cups-base instead of print/cups-client
Message-ID:  <201311031226.rA3CQfk3036004@oldred.freebsd.org>
Resent-Message-ID: <201311031230.rA3CU0Ma026739@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183614
>Category:       ports
>Synopsis:       net/freerdp unnecessarily depends on print/cups-base instead of print/cups-client
>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:   Sun Nov 03 12:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Pavel Gubin
>Release:        9.1-RELEASE
>Organization:
Lazy
>Environment:
FreeBSD hammer.2lazy.ru 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
When building net/freerdp port with CUPS support enabled (default), it really wants library 'cups' (libcups.so) (which installed by print/cups-client), but dependency line incorrectly wants cups-base, the server part, which is not always needed.
>How-To-Repeat:
make -C /usr/ports/net/freerdp -DBATCH when cups-client is installed and cups-base is not.
>Fix:
--- Makefile.orig 2013-10-25 14:58:53.000000000 +0400
+++ Makefile    2013-11-02 14:41:02.000000000 +0400
@@ -71,7 +71,7 @@
 
 .if ${PORT_OPTIONS:MCUPS}
 CMAKE_ARGS+=   -DWITH_CUPS=ON
-LIB_DEPENDS+=  cups:${PORTSDIR}/print/cups-base
+LIB_DEPENDS+=  cups:${PORTSDIR}/print/cups-client
 .else
 CMAKE_ARGS+=   -DWITH_CUPS=OFF
 .endif


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311031226.rA3CQfk3036004>