From 9f0462bca79159a405d91005fccb833b39258aa4 Mon Sep 17 00:00:00 2001 From: Max Khon Date: Sun, 28 Nov 2010 19:33:57 +0000 Subject: Add asterisk 1.8 port. Submitted by: Florian Smeets --- net/asterisk/files/patch-Makefile.rules | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 net/asterisk/files/patch-Makefile.rules (limited to 'net/asterisk/files/patch-Makefile.rules') diff --git a/net/asterisk/files/patch-Makefile.rules b/net/asterisk/files/patch-Makefile.rules new file mode 100644 index 000000000000..f90430ec9ddd --- /dev/null +++ b/net/asterisk/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 -- cgit v1.2.3