diff --git a/net/asterisk-oh323/Makefile b/net/asterisk-oh323/Makefile index 8d84bf0fc628..d1951a634562 100644 --- a/net/asterisk-oh323/Makefile +++ b/net/asterisk-oh323/Makefile @@ -18,8 +18,6 @@ BUILD_DEPENDS= ${LOCALBASE}/sbin/asterisk:${PORTSDIR}/net/asterisk LIB_DEPENDS= pt_r.1:${PORTSDIR}/devel/pwlib\ h323_r.1:${PORTSDIR}/net/openh323 -BROKEN= does not package - USE_GMAKE= yes MAKE_ENV= MKDIR="${MKDIR}" \ PWLIBDIR=${LOCALBASE}/share/pwlib \ 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