aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk-oh323/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2008-05-16 17:17:13 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2008-05-16 17:17:13 +0000
commit743e582a1c61e41a825d93d7ba24deb67e467460 (patch)
tree80d7da3e554765f9f44492b25a94cf11875d30b0 /net/asterisk-oh323/Makefile
parentd966da4e29a3cd554e20823a6c403a950bfd1577 (diff)
downloadports-743e582a1c61e41a825d93d7ba24deb67e467460.tar.gz
ports-743e582a1c61e41a825d93d7ba24deb67e467460.zip
Notes
Diffstat (limited to 'net/asterisk-oh323/Makefile')
-rw-r--r--net/asterisk-oh323/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/net/asterisk-oh323/Makefile b/net/asterisk-oh323/Makefile
index 0c7968e9fe4b..eb4e4ca0cd30 100644
--- a/net/asterisk-oh323/Makefile
+++ b/net/asterisk-oh323/Makefile
@@ -6,15 +6,14 @@
#
PORTNAME= asterisk-oh323
-PORTVERSION= 0.7.3
-PORTREVISION= 4
+PORTVERSION= 0.7.3.1
CATEGORIES= net
-MASTER_SITES= http://www.inaccessnetworks.com/projects/asterisk-oh323/download/
+MASTER_SITES= http://www.b2bua.org/chrome/site/
MAINTAINER= bamby@sippysoft.com
COMMENT= A H.323 support module for the Asterisk soft PBX
-BUILD_DEPENDS= ${LOCALBASE}/sbin/asterisk:${PORTSDIR}/net/asterisk12
+BUILD_DEPENDS= ${LOCALBASE}/sbin/asterisk:${PORTSDIR}/net/asterisk
LIB_DEPENDS= pt_r.1:${PORTSDIR}/devel/pwlib\
h323_r.1:${PORTSDIR}/net/openh323
@@ -27,10 +26,16 @@ MAKE_ENV= MKDIR="${MKDIR}" \
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
-BROKEN= Does not compile on amd64 or sparc64
+.if ${ARCH} == "sparc64"
+BROKEN= Does not compile on sparc64
.endif
+pre-configure:
+ if ${GREP} -sq fixup_codecs ${LOCALBASE}/include/asterisk/channel.h; \
+ then \
+ ${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/codecnego.diff; \
+ fi
+
post-install:
@${CAT} ${PKGMESSAGE}