aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2015-06-09 10:41:05 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2015-06-09 10:41:05 +0000
commit1e59dc9219463ddf12f51278469f6a6f79247690 (patch)
tree8c164b8b2d01527174d8c70ff0b340a88a7b061b
parent3b8bf8296bdb43005c2e621600c1e1d5797cf672 (diff)
downloadports-1e59dc9219463ddf12f51278469f6a6f79247690.tar.gz
ports-1e59dc9219463ddf12f51278469f6a6f79247690.zip
Notes
-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