diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2004-02-05 19:38:40 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2004-02-05 19:38:40 +0000 |
commit | a5aa0c90ca8ffebd4c3a15be9330e752444516d2 (patch) | |
tree | daae7a87fc1732c7efc6c538dd9f6df8cca8b66d /net/asterisk12/files/patch-cdr::Makefile | |
parent | d1e4a35abe75fef6a88c4a118035344f3506f28c (diff) |
Update to 0.7.1.
Notes
Notes:
svn path=/head/; revision=100074
Diffstat (limited to 'net/asterisk12/files/patch-cdr::Makefile')
-rw-r--r-- | net/asterisk12/files/patch-cdr::Makefile | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/net/asterisk12/files/patch-cdr::Makefile b/net/asterisk12/files/patch-cdr::Makefile index 59db17a59b8b..2ede608f9019 100644 --- a/net/asterisk12/files/patch-cdr::Makefile +++ b/net/asterisk12/files/patch-cdr::Makefile @@ -1,31 +1,14 @@ $FreeBSD$ ---- cdr/Makefile.orig Tue Aug 19 19:42:30 2003 -+++ cdr/Makefile Fri Oct 17 12:42:54 2003 -@@ -18,21 +18,14 @@ - # - # MySQL stuff... Autoconf anyone?? - # --MODS+=$(shell if [ -d /usr/local/mysql/include ] || [ -d /usr/include/mysql ] || [ -d /usr/local/include/mysql ] || [ -d /opt/mysql/include ]; then echo "cdr_mysql.so"; fi) --CFLAGS+=$(shell if [ -d /usr/local/mysql/include ]; then echo "-I/usr/local/mysql/include"; fi) --CFLAGS+=$(shell if [ -d /usr/include/mysql ]; then echo "-I/usr/include/mysql"; fi) --CFLAGS+=$(shell if [ -d /usr/local/include/mysql ]; then echo "-I/usr/local/include/mysql"; fi) --CFLAGS+=$(shell if [ -d /opt/mysql/include/mysql ]; then echo "-I/opt/mysql/include/mysql"; fi) --MLFLAGS= --MLFLAGS+=$(shell if [ -d /usr/lib/mysql ]; then echo "-L/usr/lib/mysql"; fi) --MLFLAGS+=$(shell if [ -d /usr/local/mysql/lib ]; then echo "-L/usr/local/mysql/lib"; fi) --MLFLAGS+=$(shell if [ -d /usr/local/lib/mysql ]; then echo "-L/usr/local/lib/mysql"; fi) --MLFLAGS+=$(shell if [ -d /opt/mysql/lib/mysql ]; then echo "-L/opt/mysql/lib/mysql"; fi) -+MODS+=cdr_mysql.so -+CFLAGS+=-I${LOCALBASE}/include/mysql -+MLFLAGS+=-L${LOCALBASE}/lib/mysql - +--- cdr/Makefile.orig Sun Jan 11 21:17:02 2004 ++++ cdr/Makefile Fri Jan 30 01:47:34 2004 +@@ -43,7 +43,7 @@ all: depend $(MODS) install: all -- for x in $(MODS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done -+ for x in $(MODS); do $(BSD_INSTALL_PROGRAM) $$x $(MODULES_DIR) ; done +- for x in $(MODS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done ++ for x in $(MODS); do $(BSD_INSTALL_PROGRAM) $$x $(DESTDIR)$(MODULES_DIR) ; done clean: rm -f *.so *.o .depend |