diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2005-06-19 12:50:39 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2005-06-19 12:50:39 +0000 |
commit | 3c22f7bdf1062ffb001f436f9ddd6cb3cc8d2037 (patch) | |
tree | ab3a76d11dbcab0fc2e95aaa7cd18d206d3e7525 /net/asterisk10 | |
parent | 3712a2d5e025a946a4dc0f0e9abb8e67ee8c8233 (diff) | |
download | ports-3c22f7bdf1062ffb001f436f9ddd6cb3cc8d2037.tar.gz ports-3c22f7bdf1062ffb001f436f9ddd6cb3cc8d2037.zip |
Notes
Diffstat (limited to 'net/asterisk10')
-rw-r--r-- | net/asterisk10/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/asterisk10/Makefile b/net/asterisk10/Makefile index a89c6518acd3..9de27aaa038a 100644 --- a/net/asterisk10/Makefile +++ b/net/asterisk10/Makefile @@ -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> |