summaryrefslogtreecommitdiff
path: root/net/asterisk-oh323/files/patch-rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk-oh323/files/patch-rules.mak')
-rw-r--r--net/asterisk-oh323/files/patch-rules.mak23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/asterisk-oh323/files/patch-rules.mak b/net/asterisk-oh323/files/patch-rules.mak
new file mode 100644
index 000000000000..b556f40257a7
--- /dev/null
+++ b/net/asterisk-oh323/files/patch-rules.mak
@@ -0,0 +1,23 @@
+--- rules.mak.orig Wed Jan 18 10:53:49 2006
++++ rules.mak Wed Jan 18 11:45:16 2006
+@@ -42,9 +42,8 @@
+ SUBDIRS = wrapper asterisk-driver
+ .PHONY: all build install clean subdirs_build subdir_install subdir_clean \
+ rpm rpm_clean help $(SUBDIRS)
+-CC = gcc
+-CPP = g++
+-MAKE = make
++CC ?= gcc
++CPP ?= g++
+ INSTALL = install
+ TOUCH = touch
+ AR = ar
+@@ -108,7 +107,7 @@
+
+ clean: subdirs_clean rpm_clean
+
+-all: subdirs_build subdirs_strip subdirs_install
++all: subdirs_build subdirs_strip
+
+ subdirs_build:
+ for x in $(SUBDIRS); do $(MAKE) -C $$x build || exit 1 ; done