summaryrefslogtreecommitdiff
path: root/net/asterisk-oh323/files/patch-asterisk-driver::Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2009-01-26 09:04:20 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2009-01-26 09:04:20 +0000
commit8fb15cbb827fc18accb73fc7a063d9dd267444b5 (patch)
tree57cf8bba45214bcf1b2dc1a9ee0436059535efa4 /net/asterisk-oh323/files/patch-asterisk-driver::Makefile
parentForced commit to note repocopy (diff)
Unbreak packaging.
Notes
Notes: svn path=/head/; revision=226878
Diffstat (limited to 'net/asterisk-oh323/files/patch-asterisk-driver::Makefile')
-rw-r--r--net/asterisk-oh323/files/patch-asterisk-driver::Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/net/asterisk-oh323/files/patch-asterisk-driver::Makefile b/net/asterisk-oh323/files/patch-asterisk-driver::Makefile
index 99c49e134fc9..5e04c0e91046 100644
--- a/net/asterisk-oh323/files/patch-asterisk-driver::Makefile
+++ b/net/asterisk-oh323/files/patch-asterisk-driver::Makefile
@@ -86,7 +86,15 @@ $FreeBSD$
-fomit-frame-pointer -DAST_MODULE=\"chan_oh323.so\"
DRVDEPS=$(shell ls *.h)
-@@ -151,19 +151,27 @@
+@@ -116,6 +116,7 @@
+ if [ ! -d $(DESTDIR)$(ASTERISKETCDIR) ]; then \
+ $(INSTALL) -d $(DESTDIR)$(ASTERISKETCDIR); \
+ fi
++ $(INSTALL) -m 0644 oh323.conf.sample $(DESTDIR)$(ASTERISKETCDIR)/
+ if [ ! -f $(DESTDIR)$(ASTERISKETCDIR)/oh323.conf ]; then \
+ $(INSTALL) -m 0644 oh323.conf.sample $(DESTDIR)$(ASTERISKETCDIR)/oh323.conf; \
+ fi
+@@ -151,19 +152,27 @@
@if [ ! -f "$(LIBH323PATH)" ]; then \
echo "ERROR: No OPENH323 library found!"; exit 1; \
fi