Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2013 16:28:46 GMT
From:      Joze Zobec <jozze.zepl@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/180390: pkg autoremove suggests deleting avahi-app, which is needed to run ekiga3
Message-ID:  <201307081628.r68GSk8C014024@oldred.freebsd.org>
Resent-Message-ID: <201307081630.r68GU1mE011051@freefall.freebsd.org>

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

>Number:         180390
>Category:       ports
>Synopsis:       pkg autoremove suggests deleting avahi-app, which is needed to run ekiga3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 08 16:30:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Joze Zobec
>Release:        FreeBSD  9.1-STABLE #1 r252919
>Organization:
None
>Environment:
FreeBSD sless 9.1-STABLE FreeBSD 9.1-STABLE #1 r252919: Sun Jul  7 10:50:48 CEST 2013     jozze@sless:/usr/obj/usr/src/sys/STRIPPED  amd64
>Description:
Upon installing net/ekiga3 port, I run it, and everything seems to be in order (it runs). After running routinely

# pkg autoremove

the PKGNG suggests deleting net/avahi-app, since it's only included as a build dependency. I removed it, but I actually needed it to run, so then ekiga3 cannot run.

>How-To-Repeat:
Install the net/ekiga3 port with PKGNG, and AVAHI support enabled. Then run

# pkg -y autoremove

and try to run ekiga3 from the terminal.
>Fix:
I suggest changing the status of net/avahi-app from BUILD_DEPENDS to RUN_DEPENDS. For this I wrote a patch for the port's Makefile, which I included in the report, and the revised Makefile will hopefully be applied to the ports tree.

Patch attached with submission follows:

--- net/ekiga3/Makefile.old	2013-07-08 18:06:40.000000000 +0200
+++ net/ekiga3/Makefile	2013-07-08 18:06:52.000000000 +0200
@@ -110,7 +110,7 @@
 
 .if ${PORT_OPTIONS:MAVAHI}
 CONFIGURE_ARGS+=	--enable-avahi
-BUILD_DEPENDS+=		${LOCALBASE}/libdata/pkgconfig/avahi-client.pc:${PORTSDIR}/net/avahi-app
+RUN_DEPENDS+=		${LOCALBASE}/libdata/pkgconfig/avahi-client.pc:${PORTSDIR}/net/avahi-app
 .else
 CONFIGURE_ARGS+=	--disable-avahi
 .endif


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



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