aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk-app-ldap/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk-app-ldap/files/patch-Makefile')
-rw-r--r--net/asterisk-app-ldap/files/patch-Makefile35
1 files changed, 0 insertions, 35 deletions
diff --git a/net/asterisk-app-ldap/files/patch-Makefile b/net/asterisk-app-ldap/files/patch-Makefile
deleted file mode 100644
index 924d1e08103b..000000000000
--- a/net/asterisk-app-ldap/files/patch-Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
---- Makefile.orig Tue Apr 17 13:55:00 2007
-+++ Makefile Tue Apr 17 18:19:37 2007
-@@ -30,6 +30,14 @@
- CONF_DIR=/etc/asterisk
- endif
-
-+ifeq ($(OSARCH),FreeBSD)
-+# CFLAGS+= -D__FreeBSD__
-+ SOLINK=-shared -Xlinker -x -L/usr/local/lib
-+ LIBS=-llber -lldap -liconv
-+ MODULES_DIR=/usr/local/lib/asterisk/modules
-+ CONF_DIR=/usr/local/etc/asterisk
-+endif
-+
- %.so : %.o
- $(CC) $(SOLINK) -o $@ $(LIBS) $<
-
-@@ -39,13 +47,13 @@
- rm -f $(NAME).o $(NAME).so
-
- install: all
-- if ! [ -f $(CONF_DIR)/$(CONF) ]; then \
-- install -m 644 $(CONF).sample $(CONF_DIR)/$(CONF) ; \
-+ if ! [ -f $(CONF_DIR)/$(CONF).sample ]; then \
-+ install -m 644 $(CONF).sample $(CONF_DIR)/$(CONF).sample ; \
- fi
- if [ -f $(NAME).so ]; then \
- install -m 755 $(NAME).so $(MODULES_DIR) ; \
- fi
-
- reload: install
-- asterisk -rx "unload ${RES}"
-- asterisk -rx "load ${RES}"
-+ asterisk -rx "module unload ${RES}"
-+ asterisk -rx "module load ${RES}"