diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2006-01-19 22:40:42 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2006-01-19 22:40:42 +0000 |
commit | ced00c97fe6e341ae4ee9d441da1e82ce73bdc08 (patch) | |
tree | 8982eee5293e3bd425e99cad1f03109b8a5dcd9d /net/asterisk-oh323/files/patch-asterisk-driver::Makefile | |
parent | Remove an accidently added copy of the sources. (diff) |
Update to 0.7.3.
Notes
Notes:
svn path=/head/; revision=153902
Diffstat (limited to 'net/asterisk-oh323/files/patch-asterisk-driver::Makefile')
-rw-r--r-- | net/asterisk-oh323/files/patch-asterisk-driver::Makefile | 41 |
1 files changed, 7 insertions, 34 deletions
diff --git a/net/asterisk-oh323/files/patch-asterisk-driver::Makefile b/net/asterisk-oh323/files/patch-asterisk-driver::Makefile index 74e8a42106de..69de678ad6bd 100644 --- a/net/asterisk-oh323/files/patch-asterisk-driver::Makefile +++ b/net/asterisk-oh323/files/patch-asterisk-driver::Makefile @@ -1,42 +1,15 @@ - -$FreeBSD$ - ---- asterisk-driver/Makefile.orig -+++ asterisk-driver/Makefile -@@ -33,9 +33,9 @@ - - ifndef SKIP_SUFFIX - ifeq ($(OH323STAT),1) -- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/libpt*s.a)) -+ LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/libpt*.a)) - else -- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/libpt*r.so)) -+ LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/libpt*.so)) - endif - LIBPTNAME=$(subst lib,,$(basename $(notdir $(LIBPTPATH)))) - LIBPTSSUF=$(findstring _r_s,$(LIBPTNAME)) # Static lib suffix -@@ -54,9 +54,9 @@ - LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*s.a)) - else - ifdef NOTRACE -- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*n.so)) -+ LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*.so)) - else -- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*r.so)) -+ LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*.so)) - endif - endif - LIBH323NAME=$(subst lib,,$(basename $(notdir $(LIBH323PATH)))) -@@ -76,7 +76,7 @@ - endif +--- asterisk-driver/Makefile.orig Wed Jan 18 11:43:28 2006 ++++ asterisk-driver/Makefile Wed Jan 18 11:55:34 2006 +@@ -90,7 +90,7 @@ + LIBH323=$(LIBH323NAME) ifndef SKIP_EXTLIBS - EXTLIBS=$(shell $(PWLIBDIR)/make/ptlib-config --libs) + EXTLIBS=$(shell $(PWLIBDIR)/make/ptlib-config --ldflags --libs) endif - CFLAGS += -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes \ -@@ -95,14 +95,15 @@ + CFLAGS += -pipe -Wstrict-prototypes -Wmissing-prototypes \ +@@ -110,14 +110,15 @@ install: if [ ! -d $(DESTDIR)$(ASTERISKMODDIR) ]; then \ @@ -49,7 +22,7 @@ $FreeBSD$ - $(INSTALL) -d $(DESTDIR)$(ASTERISKETCDIR); \ + $(MKDIR) $(DESTDIR)$(ASTERISKETCDIR); \ fi -+ $(BSD_INSTALL_DATA) oh323.conf.sample $(DESTDIR)$(ASTERISKETCDIR)/oh323.conf.sample ++ $(BSD_INSTALL_DATA) oh323.conf.sample $(DESTDIR)$(ASTERISKETCDIR)/oh323.conf.sample; \ if [ ! -f $(DESTDIR)$(ASTERISKETCDIR)/oh323.conf ]; then \ - $(INSTALL) -m 0644 oh323.conf.sample $(DESTDIR)$(ASTERISKETCDIR)/oh323.conf; \ + $(BSD_INSTALL_DATA) oh323.conf.sample $(DESTDIR)$(ASTERISKETCDIR)/oh323.conf; \ |