ports/180390: pkg autoremove suggests deleting avahi-app, which is needed to run ekiga3
Joze Zobec
jozze.zepl at gmail.com
Mon Jul 8 16:30:01 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list