summaryrefslogtreecommitdiff
path: root/net/asterisk14/files/patch-Makefile.rules
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2011-11-07 23:38:48 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2011-11-07 23:38:48 +0000
commit2b05847ed94e390cdfe7c15313ab7b623a1b0cf0 (patch)
treedc72111eb39db03a5eb54f7313444d5e1b4ca2a4 /net/asterisk14/files/patch-Makefile.rules
parent- Honor custom PREFIX [1] (diff)
Ressurect asterisk14 and upgrade to the latest 1.4.42, which should be
free of any known vulnerabilities.
Notes
Notes: svn path=/head/; revision=285269
Diffstat (limited to '')
-rw-r--r--net/asterisk14/files/patch-Makefile.rules16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/asterisk14/files/patch-Makefile.rules b/net/asterisk14/files/patch-Makefile.rules
new file mode 100644
index 000000000000..f90430ec9ddd
--- /dev/null
+++ b/net/asterisk14/files/patch-Makefile.rules
@@ -0,0 +1,16 @@
+--- Makefile.rules.orig 2009-09-28 22:09:25.000000000 +0300
++++ Makefile.rules 2009-11-23 16:15:23.000000000 +0200
+@@ -37,11 +37,13 @@
+
+ OPTIMIZE?=-O6
+
++ifneq ($(OSARCH),FreeBSD)
+ ifeq ($(findstring DONT_OPTIMIZE,$(MENUSELECT_CFLAGS)),)
+ _ASTCFLAGS+=$(OPTIMIZE)
+ else
+ _ASTCFLAGS+=-O0
+ endif
++endif
+
+ # shortcuts for common combinations of flags; these must be recursively expanded so that
+ # per-target settings will be applied