Date: Sat, 19 Apr 2014 01:12:44 +0200 (CEST) From: Dan Lukes <dan@obluda.cz> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/188778: [ patch ] net/asterisk11 unpublished dependency to multimedia/libv4l and multimedia/ffmpeg Message-ID: <201404182312.s3INCiNe082609@m9-64.freebsd.cz> Resent-Message-ID: <201404182320.s3INK0gX037416@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404182312.s3INCiNe082609>