o Fix patch in default musiconhold.conf file;
o use USE_MYSQL instead of manually specifying MySQL dependency. PR: 79253 Submitted by: Ari Maniatis <ari@ish.com.au>
This commit is contained in:
parent
3712a2d5e0
commit
3c22f7bdf1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137726
7 changed files with 28 additions and 21 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 1.0.7
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
|
||||
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||
|
@ -33,6 +33,7 @@ CONFIGURE_WRKSRC= ${WRKSRC}/editline
|
|||
USE_GMAKE= yes
|
||||
USE_BISON= yes
|
||||
USE_RC_SUBR= asterisk.sh
|
||||
USE_REINPLACE= yes
|
||||
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
||||
PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
||||
MKDIR="${MKDIR}" \
|
||||
|
@ -70,11 +71,11 @@ PLIST_SUB+= WITH_ZAPTEL=""
|
|||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MYSQL)
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client
|
||||
USE_MYSQL= yes
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${CP} ${FILESDIR}/chan_oss.c ${WRKSRC}/channels
|
||||
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 1.0.7
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
|
||||
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||
|
@ -33,6 +33,7 @@ CONFIGURE_WRKSRC= ${WRKSRC}/editline
|
|||
USE_GMAKE= yes
|
||||
USE_BISON= yes
|
||||
USE_RC_SUBR= asterisk.sh
|
||||
USE_REINPLACE= yes
|
||||
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
||||
PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
||||
MKDIR="${MKDIR}" \
|
||||
|
@ -70,11 +71,11 @@ PLIST_SUB+= WITH_ZAPTEL=""
|
|||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MYSQL)
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client
|
||||
USE_MYSQL= yes
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${CP} ${FILESDIR}/chan_oss.c ${WRKSRC}/channels
|
||||
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 1.0.7
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
|
||||
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||
|
@ -33,6 +33,7 @@ CONFIGURE_WRKSRC= ${WRKSRC}/editline
|
|||
USE_GMAKE= yes
|
||||
USE_BISON= yes
|
||||
USE_RC_SUBR= asterisk.sh
|
||||
USE_REINPLACE= yes
|
||||
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
||||
PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
||||
MKDIR="${MKDIR}" \
|
||||
|
@ -70,11 +71,11 @@ PLIST_SUB+= WITH_ZAPTEL=""
|
|||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MYSQL)
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client
|
||||
USE_MYSQL= yes
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${CP} ${FILESDIR}/chan_oss.c ${WRKSRC}/channels
|
||||
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 1.0.7
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
|
||||
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||
|
@ -33,6 +33,7 @@ CONFIGURE_WRKSRC= ${WRKSRC}/editline
|
|||
USE_GMAKE= yes
|
||||
USE_BISON= yes
|
||||
USE_RC_SUBR= asterisk.sh
|
||||
USE_REINPLACE= yes
|
||||
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
||||
PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
||||
MKDIR="${MKDIR}" \
|
||||
|
@ -70,11 +71,11 @@ PLIST_SUB+= WITH_ZAPTEL=""
|
|||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MYSQL)
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client
|
||||
USE_MYSQL= yes
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${CP} ${FILESDIR}/chan_oss.c ${WRKSRC}/channels
|
||||
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 1.0.7
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
|
||||
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||
|
@ -33,6 +33,7 @@ CONFIGURE_WRKSRC= ${WRKSRC}/editline
|
|||
USE_GMAKE= yes
|
||||
USE_BISON= yes
|
||||
USE_RC_SUBR= asterisk.sh
|
||||
USE_REINPLACE= yes
|
||||
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
||||
PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
||||
MKDIR="${MKDIR}" \
|
||||
|
@ -70,11 +71,11 @@ PLIST_SUB+= WITH_ZAPTEL=""
|
|||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MYSQL)
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client
|
||||
USE_MYSQL= yes
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${CP} ${FILESDIR}/chan_oss.c ${WRKSRC}/channels
|
||||
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 1.0.7
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
|
||||
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||
|
@ -33,6 +33,7 @@ CONFIGURE_WRKSRC= ${WRKSRC}/editline
|
|||
USE_GMAKE= yes
|
||||
USE_BISON= yes
|
||||
USE_RC_SUBR= asterisk.sh
|
||||
USE_REINPLACE= yes
|
||||
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
||||
PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
||||
MKDIR="${MKDIR}" \
|
||||
|
@ -70,11 +71,11 @@ PLIST_SUB+= WITH_ZAPTEL=""
|
|||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MYSQL)
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client
|
||||
USE_MYSQL= yes
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${CP} ${FILESDIR}/chan_oss.c ${WRKSRC}/channels
|
||||
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 1.0.7
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
|
||||
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||
|
@ -33,6 +33,7 @@ CONFIGURE_WRKSRC= ${WRKSRC}/editline
|
|||
USE_GMAKE= yes
|
||||
USE_BISON= yes
|
||||
USE_RC_SUBR= asterisk.sh
|
||||
USE_REINPLACE= yes
|
||||
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
||||
PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
||||
MKDIR="${MKDIR}" \
|
||||
|
@ -70,11 +71,11 @@ PLIST_SUB+= WITH_ZAPTEL=""
|
|||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MYSQL)
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql40-client
|
||||
USE_MYSQL= yes
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${CP} ${FILESDIR}/chan_oss.c ${WRKSRC}/channels
|
||||
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue