Bug 188778

Summary: [ patch ] net/asterisk11 unpublished dependency to multimedia/libv4l and multimedia/ffmpeg
Product: Ports & Packages Reporter: Dan Lukes <dan>
Component: Individual Port(s)Assignee: Guido Falsi <madpilot>
Status: Closed FIXED    
Severity: Affects Only Me CC: madpilot
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff none

Description Dan Lukes 2014-04-19 00:20:00 UTC
	There is no problem as long as no multimedia/libv4l and multimedia/ffmpeg is
installed during compilation. If present, they are autodetected by Asterisk and used,
but dependencies are not recorded.

Fix: Disable libv4l and ffmpeg autodetection.

 --- patch-Asterisk begins here ---
--- net/asterisk11/files/extra-DAN-noffmpeg begins here ---
How-To-Repeat: 	Compile multimedia/libv4l and multimedia/ffmpeg, then net/asterisk11 package.
Move asterisk package to another computer with no multimedia/libv4l and multimedia/ffmpeg
installed. Check
ldd /usr/local/lib/asterisk/modules/res_rtp_asterisk.so
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-19 00:20:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->flo

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Guido Falsi freebsd_committer freebsd_triage 2015-06-07 21:17:58 UTC
Hi,

I was informed of this PR existence.

I had a quick look and you look correct. I'll make some tests in the next few days to prepare a fix.

I'll let you know if I need help or further testing.

Thanks!
Comment 3 Guido Falsi freebsd_committer freebsd_triage 2015-06-09 10:41:31 UTC
Patch solving this problem committed.

Thanks for reporting the issue.
Comment 4 commit-hook freebsd_committer freebsd_triage 2015-06-09 10:42:02 UTC
A commit references this bug:

Author: madpilot
Date: Tue Jun  9 10:41:06 UTC 2015
New revision: 388908
URL: https://svnweb.freebsd.org/changeset/ports/388908

Log:
  Add patch to prevent uneeded and unpublished linking against v4l
  and ffmpeg.

  PR:		188778
  Submitted by:	Dan Lukes <dan at obluda.cz>

Changes:
  head/net/asterisk11/Makefile
  head/net/asterisk11/files/patch-res_Makefile