diff options
author | Florian Smeets <flo@FreeBSD.org> | 2013-07-04 22:46:33 +0000 |
---|---|---|
committer | Florian Smeets <flo@FreeBSD.org> | 2013-07-04 22:46:33 +0000 |
commit | b003ca6d3472473cf343e05755f41df06ba4ab50 (patch) | |
tree | 4a254539bcb88ee266436d7c7d286930a8315b3a /net/asterisk10 | |
parent | 42da4e24d41ef057e5113b2bcbcf6c85cb6952ca (diff) | |
download | ports-b003ca6d3472473cf343e05755f41df06ba4ab50.tar.gz ports-b003ca6d3472473cf343e05755f41df06ba4ab50.zip |
Notes
Diffstat (limited to 'net/asterisk10')
-rw-r--r-- | net/asterisk10/Makefile | 6 | ||||
-rw-r--r-- | net/asterisk10/files/patch-main::utils.c | 2 | ||||
-rw-r--r-- | net/asterisk10/pkg-plist | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/net/asterisk10/Makefile b/net/asterisk10/Makefile index 976bd839ebcc..97a88ce19406 100644 --- a/net/asterisk10/Makefile +++ b/net/asterisk10/Makefile @@ -3,7 +3,7 @@ PORTNAME= asterisk PORTVERSION= 10.12.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \ http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ @@ -24,7 +24,7 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gsm=${LOCALBASE} LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/openh323 -USE_GCC= any +USE_CSTD= gnu89 USE_GMAKE= yes USE_GNOME= libxml2 USES= bison @@ -279,7 +279,7 @@ post-patch: post-configure: .if !empty(PORT_OPTIONS:MMYSQL) || !empty(PORT_OPTIONS:MNEWG711) || !empty(PORT_OPTIONS:MOOH323) || !empty(PORT_OPTIONS:MH323) - @cd ${WRKSRC} && gmake menuselect.makeopts + @cd ${WRKSRC} && ${GMAKE} menuselect.makeopts .if ${PORT_OPTIONS:MMYSQL} @cd ${WRKSRC} && ./menuselect/menuselect --enable res_config_mysql menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable app_mysql menuselect.makeopts diff --git a/net/asterisk10/files/patch-main::utils.c b/net/asterisk10/files/patch-main::utils.c index 7440848a1521..8b6e268d1cb9 100644 --- a/net/asterisk10/files/patch-main::utils.c +++ b/net/asterisk10/files/patch-main::utils.c @@ -6,7 +6,7 @@ -#ifdef __linux__ - /* On Linux, pthread_attr_init() defaults to PTHREAD_EXPLICIT_SCHED, -+#ifdef __linux__ || defined(__FreeBSD__) ++#if defined(__linux__) || defined(__FreeBSD__) + /* On Linux and FreeBSD, pthread_attr_init() defaults to PTHREAD_EXPLICIT_SCHED, which is kind of useless. Change this here to PTHREAD_INHERIT_SCHED; that way the -p option to set realtime diff --git a/net/asterisk10/pkg-plist b/net/asterisk10/pkg-plist index b30986b0043f..98d1c4f6eaa2 100644 --- a/net/asterisk10/pkg-plist +++ b/net/asterisk10/pkg-plist @@ -1245,8 +1245,8 @@ spool/asterisk/voicemail/default/1234/en/unavail.gsm @dirrm spool/asterisk/voicemail @dirrm spool/asterisk/tmp @dirrm spool/asterisk -@dirrm log/asterisk/cdr-csv -@dirrm log/asterisk/cdr-custom -@dirrm log/asterisk/cel-custom -@dirrm log/asterisk +@dirrmtry log/asterisk/cdr-csv +@dirrmtry log/asterisk/cdr-custom +@dirrmtry log/asterisk/cel-custom +@dirrmtry log/asterisk @dirrmtry db/asterisk |