summaryrefslogtreecommitdiff
path: root/net/asterisk/files/patch-Makefile
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2010-12-28 13:50:51 +0000
committerFlorian Smeets <flo@FreeBSD.org>2010-12-28 13:50:51 +0000
commitde0205ca8c675853a399604a2c0ddf18835ec972 (patch)
tree6308cad540b7e62d087d8bdaa041c90b529d52d9 /net/asterisk/files/patch-Makefile
parentUpdate to 0.0.18.6 (diff)
- update to 1.8.1.1
- remove patch now included upstream - pkg-plist changes, Digium decided to strip a lot of documentation from the release tar ball
Notes
Notes: svn path=/head/; revision=267069
Diffstat (limited to 'net/asterisk/files/patch-Makefile')
-rw-r--r--net/asterisk/files/patch-Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/net/asterisk/files/patch-Makefile b/net/asterisk/files/patch-Makefile
index 0fccb52e346a..9d703bcc2ea5 100644
--- a/net/asterisk/files/patch-Makefile
+++ b/net/asterisk/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2010-10-14 00:24:44.000000000 +0200
-+++ Makefile 2010-11-17 12:24:32.000000000 +0100
+--- Makefile.orig 2010-12-28 10:32:35.000000000 +0100
++++ Makefile 2010-12-28 10:33:10.000000000 +0100
@@ -122,7 +122,7 @@
OVERWRITE=y
@@ -32,7 +32,7 @@
_ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi)
endif
-@@ -460,13 +462,14 @@
+@@ -460,13 +462,17 @@
done
$(INSTALL) -m 644 doc/core-en_US.xml $(DESTDIR)$(ASTDATADIR)/static-http;
if [ -d doc/tex/asterisk ] ; then \
@@ -44,13 +44,16 @@
+ $(INSTALL) -m 644 $$n $(DESTDIR)$(DOCSDIR) ; \
done \
fi
++ if [ ! -d $(DESTDIR)$(DOCSDIR)/images ]; then \
++ $(MKDIR) $(DESTDIR)$(DOCSDIR)/images; \
++ fi
for x in images/*.jpg; do \
- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/images ; \
+ $(INSTALL) -m 644 $$x $(DESTDIR)$(DOCSDIR)/images ; \
done
$(MAKE) -C sounds install
-@@ -526,6 +529,7 @@
+@@ -526,6 +532,7 @@
$(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/dictate"
$(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/meetme"
$(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/monitor"
@@ -58,7 +61,7 @@
$(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/system"
$(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/tmp"
$(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/voicemail"
-@@ -547,6 +551,7 @@
+@@ -547,6 +554,7 @@
$(INSTALL) -d "$(DESTDIR)$(ASTDATADIR)/static-http"
$(INSTALL) -d "$(DESTDIR)$(ASTMANDIR)/man8"
$(INSTALL) -d "$(DESTDIR)$(AGI_DIR)"
@@ -66,7 +69,7 @@
bininstall: _all installdirs $(SUBDIRS_INSTALL)
$(INSTALL) -m 755 main/asterisk $(DESTDIR)$(ASTSBINDIR)/
-@@ -606,7 +611,7 @@
+@@ -606,7 +614,7 @@
@exit 1
endif
@@ -75,7 +78,7 @@
@if [ -x /usr/sbin/asterisk-post-install ]; then \
/usr/sbin/asterisk-post-install $(DESTDIR) . ; \
fi
-@@ -648,29 +653,18 @@
+@@ -648,29 +656,18 @@
else \
echo "Installing $$x" ; \
fi ; \