Add patch to prevent uneeded and unpublished linking against v4l

and ffmpeg.

PR:		188778
Submitted by:	Dan Lukes <dan at obluda.cz>
This commit is contained in:
Guido Falsi 2015-06-09 10:41:05 +00:00
parent 3b8bf8296b
commit 1e59dc9219
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388908
2 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= asterisk
PORTVERSION= 11.18.0
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/

View File

@ -0,0 +1,11 @@
--- res/Makefile.orig 2015-06-04 00:44:42 UTC
+++ res/Makefile
@@ -78,7 +78,7 @@ distclean::
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