ports/188778: [ patch ] net/asterisk11 unpublished dependency to multimedia/libv4l and multimedia/ffmpeg
Dan Lukes
dan at obluda.cz
Fri Apr 18 23:20:01 UTC 2014
>Number: 188778
>Category: ports
>Synopsis: [ patch ] net/asterisk11 unpublished dependency to multimedia/libv4l and multimedia/ffmpeg
>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: Fri Apr 18 23:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Dan Lukes
>Release: FreeBSD 9.1-RELEASE-p11 amd64
>Organization:
Obludarium
>Environment:
System: FreeBSD 9.1-RELEASE-p11 #4 r264285M
$FreeBSD: head/net/asterisk11/Makefile 347920 2014-03-11 20:22:39Z
>Description:
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.
>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
>Fix:
Disable libv4l and ffmpeg autodetection.
--- patch-Asterisk begins here ---
--- net/asterisk11/Makefile.orig 2014-04-17 20:04:11.000000000 +0200
+++ net/asterisk11/Makefile 2014-04-19 00:51:38.000000000 +0200
@@ -21,6 +21,8 @@
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gsm=${LOCALBASE} --with-uuid=${LOCALBASE}
+CONFIGURE_ARGS+=--with-ffmpeg=no
+EXTRA_PATCHES+= ${FILESDIR}/extra-DAN-noffmpeg
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/openh323
CFLAGS+= -I${LOCALBASE}/include
--- patch-Asterisk ends here ---
--- net/asterisk11/files/extra-DAN-noffmpeg begins here ---
--- res/Makefile.orig 2014-01-13 22:45:35.000000000 +0100
+++ res/Makefile 2014-04-19 00:43:29.000000000 +0200
@@ -75,7 +75,7 @@
rm -f pjproject/build.mak
pjproject/build.mak: pjproject/aconfigure
- (cd pjproject && CFLAGS="-fPIC" ./configure --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) --disable-floating-point --disable-sound --disable-oss --disable-speex-aec --disable-l16-codec --disable-gsm-codec --disable-g722-codec --disable-g7221-codec --disable-speex-codec --disable-ilbc-codec --disable-g711-codec)
+ (cd pjproject && CFLAGS="-fPIC" ./configure --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) --disable-floating-point --disable-sound --disable-oss --disable-speex-aec --disable-l16-codec --disable-gsm-codec --disable-g722-codec --disable-g7221-codec --disable-speex-codec --disable-ilbc-codec --disable-g711-codec --disable-ffmpeg --disable-v4l2)
ifneq ($(findstring $(MAKECMDGOALS),all),)
-include pjproject/build.mak
--- extra-DAN-noffmpeg ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list