aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2015-06-09 18:41:05 +0800
committermadpilot <madpilot@FreeBSD.org>2015-06-09 18:41:05 +0800
commit58c32a4c1cf0c1e1f586d1eec83d60c0edede7ef (patch)
tree8c164b8b2d01527174d8c70ff0b340a88a7b061b /net
parent597fec64db4ee007748f6ca106f022598494dd63 (diff)
downloadfreebsd-ports-gnome-58c32a4c1cf0c1e1f586d1eec83d60c0edede7ef.tar.gz
freebsd-ports-gnome-58c32a4c1cf0c1e1f586d1eec83d60c0edede7ef.tar.zst
freebsd-ports-gnome-58c32a4c1cf0c1e1f586d1eec83d60c0edede7ef.zip
Add patch to prevent uneeded and unpublished linking against v4l
and ffmpeg. PR: 188778 Submitted by: Dan Lukes <dan at obluda.cz>
Diffstat (limited to 'net')
-rw-r--r--net/asterisk11/Makefile1
-rw-r--r--net/asterisk11/files/patch-res_Makefile11
2 files changed, 12 insertions, 0 deletions
diff --git a/net/asterisk11/Makefile b/net/asterisk11/Makefile
index d1a37ebe46d8..daae030569e3 100644
--- a/net/asterisk11/Makefile
+++ b/net/asterisk11/Makefile
@@ -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/
diff --git a/net/asterisk11/files/patch-res_Makefile b/net/asterisk11/files/patch-res_Makefile
new file mode 100644
index 000000000000..96ef8d728d3c
--- /dev/null
+++ b/net/asterisk11/files/patch-res_Makefile
@@ -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