Sun Jan 3 09:05:26 2021 UTC ()
Disable -march=native default.


(jnemeth)
diff -r1.50 -r1.51 pkgsrc/comms/asterisk14/Makefile
diff -r1.3 -r1.4 pkgsrc/comms/asterisk14/options.mk

cvs diff -r1.50 -r1.51 pkgsrc/comms/asterisk14/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/comms/asterisk14/Attic/Makefile 2020/11/05 09:07:38 1.50
+++ pkgsrc/comms/asterisk14/Attic/Makefile 2021/01/03 09:05:26 1.51
@@ -1,21 +1,21 @@ @@ -1,21 +1,21 @@
1# $NetBSD: Makefile,v 1.50 2020/11/05 09:07:38 ryoon Exp $ 1# $NetBSD: Makefile,v 1.51 2021/01/03 09:05:26 jnemeth Exp $
2# 2#
3# NOTE: when updating this package, there are two places that sound 3# NOTE: when updating this package, there are two places that sound
4# tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile 4# tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile
5# to find out the current sound file versions 5# to find out the current sound file versions
6 6
7DISTNAME= asterisk-14.7.8 7DISTNAME= asterisk-14.7.8
8PKGREVISION= 6 8PKGREVISION= 7
9CATEGORIES= comms net audio 9CATEGORIES= comms net audio
10MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ 10MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/
11MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ 11MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
12MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/sounds/releases/ 12MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/sounds/releases/
13DIST_SUBDIR= ${PKGNAME_NOREV} 13DIST_SUBDIR= ${PKGNAME_NOREV}
14DISTFILES= ${DEFAULT_DISTFILES} 14DISTFILES= ${DEFAULT_DISTFILES}
15 15
16COMMENT= The Asterisk Software PBX 16COMMENT= The Asterisk Software PBX
17LICENSE= gnu-gpl-v2 17LICENSE= gnu-gpl-v2
18 18
19EXTRACT_ONLY= ${DISTNAME}.tar.gz 19EXTRACT_ONLY= ${DISTNAME}.tar.gz
20OWNER= jnemeth@NetBSD.org 20OWNER= jnemeth@NetBSD.org
21HOMEPAGE= https://www.asterisk.org/ 21HOMEPAGE= https://www.asterisk.org/

cvs diff -r1.3 -r1.4 pkgsrc/comms/asterisk14/Attic/options.mk (expand / switch to unified diff)

--- pkgsrc/comms/asterisk14/Attic/options.mk 2019/05/23 19:22:56 1.3
+++ pkgsrc/comms/asterisk14/Attic/options.mk 2021/01/03 09:05:26 1.4
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: options.mk,v 1.3 2019/05/23 19:22:56 rillig Exp $ 1# $NetBSD: options.mk,v 1.4 2021/01/03 09:05:26 jnemeth Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.asterisk 3PKG_OPTIONS_VAR= PKG_OPTIONS.asterisk
4PKG_SUPPORTED_OPTIONS= zaptel x11 unixodbc ilbc webvmail ldap spandsp 4PKG_SUPPORTED_OPTIONS= zaptel x11 unixodbc ilbc webvmail ldap spandsp
5PKG_SUPPORTED_OPTIONS+= jabber speex snmp pgsql asterisk-config 5PKG_SUPPORTED_OPTIONS+= jabber speex snmp pgsql asterisk-config
6PKG_OPTIONS_LEGACY_OPTS+= gtk:x11 6PKG_OPTIONS_LEGACY_OPTS+= gtk:x11
7PKG_SUGGESTED_OPTIONS= ldap jabber speex asterisk-config 7PKG_SUGGESTED_OPTIONS= ldap jabber speex asterisk-config
8 8
9.include "../../mk/bsd.options.mk" 9.include "../../mk/bsd.options.mk"
10 10
11PLIST_VARS+= zaptel x11 unixodbc webvmail ldap spandsp jabber 11PLIST_VARS+= zaptel x11 unixodbc webvmail ldap spandsp jabber
12PLIST_VARS+= speex snmp pgsql srtp 12PLIST_VARS+= speex snmp pgsql srtp
13 13
14# Asterisk now uses DAHDI, not zaptel; not implemented yet... 14# Asterisk now uses DAHDI, not zaptel; not implemented yet...
@@ -62,26 +62,27 @@ CONFIGURE_ARGS+= --without-iksemel @@ -62,26 +62,27 @@ CONFIGURE_ARGS+= --without-iksemel
62MAKE_FLAGS+= GLOBAL_MAKEOPTS=${WRKSRC}/pkgsrc.makeopts 62MAKE_FLAGS+= GLOBAL_MAKEOPTS=${WRKSRC}/pkgsrc.makeopts
63post-configure: 63post-configure:
64.if !empty(PKG_OPTIONS:Mx11) 64.if !empty(PKG_OPTIONS:Mx11)
65 ${ECHO} "MENUSELECT_PBX=-pbx_gtkconsole" >> ${WRKSRC}/pkgsrc.makeopts 65 ${ECHO} "MENUSELECT_PBX=-pbx_gtkconsole" >> ${WRKSRC}/pkgsrc.makeopts
66.endif 66.endif
67.if !empty(PKG_OPTIONS:Munixodbc) 67.if !empty(PKG_OPTIONS:Munixodbc)
68 ${ECHO} "MENUSELECT_OPTS_app_voicemail=ODBC_STORAGE" >> ${WRKSRC}/pkgsrc.makeopts 68 ${ECHO} "MENUSELECT_OPTS_app_voicemail=ODBC_STORAGE" >> ${WRKSRC}/pkgsrc.makeopts
69.endif 69.endif
70.if defined(PLIST.mgcp) 70.if defined(PLIST.mgcp)
71 ${ECHO} "MENUSELECT_RES=-res_pktccops" >> ${WRKSRC}/pkgsrc.makeopts 71 ${ECHO} "MENUSELECT_RES=-res_pktccops" >> ${WRKSRC}/pkgsrc.makeopts
72 ${ECHO} "MENUSELECT_CHANNELS=-chan_mgcp" >> ${WRKSRC}/pkgsrc.makeopts 72 ${ECHO} "MENUSELECT_CHANNELS=-chan_mgcp" >> ${WRKSRC}/pkgsrc.makeopts
73.endif 73.endif
74 ${ECHO} "MENUSELECT_AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi" >> ${WRKSRC}/pkgsrc.makeopts 74 ${ECHO} "MENUSELECT_AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi" >> ${WRKSRC}/pkgsrc.makeopts
 75 ${ECHO} "MENUSELECT_CFLAGS=-BUILD_NATIVE" >> ${WRKSRC}/pkgsrc.makeopts
75 # this is a hack to work around a bug in menuselect 76 # this is a hack to work around a bug in menuselect
76 cd ${WRKSRC} && make menuselect.makeopts 77 cd ${WRKSRC} && make menuselect.makeopts
77 78
78.if !empty(PKG_OPTIONS:Mwebvmail) 79.if !empty(PKG_OPTIONS:Mwebvmail)
79DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI 80DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI
80SUBST_CLASSES+= webvmail 81SUBST_CLASSES+= webvmail
81SUBST_STAGE.webvmail= pre-configure 82SUBST_STAGE.webvmail= pre-configure
82SUBST_FILES.webvmail= contrib/scripts/vmail.cgi 83SUBST_FILES.webvmail= contrib/scripts/vmail.cgi
83SUBST_VARS.webvmail= ASTETCDIR 84SUBST_VARS.webvmail= ASTETCDIR
84SUBST_VARS.webvmail+= ASTSPOOLDIR 85SUBST_VARS.webvmail+= ASTSPOOLDIR
85INSTALLATION_DIRS+= ${PREFIX}/libexec/cgi-bin ${PREFIX}/share/httpd/htdocs 86INSTALLATION_DIRS+= ${PREFIX}/libexec/cgi-bin ${PREFIX}/share/httpd/htdocs
86SPECIAL_PERMS+= ${PREFIX}/libexec/cgi-bin/vmail ${ASTERISK_USER} ${ASTERISK_GROUP} 04555 87SPECIAL_PERMS+= ${PREFIX}/libexec/cgi-bin/vmail ${ASTERISK_USER} ${ASTERISK_GROUP} 04555
87INSTALL_TARGET+= webvmail 88INSTALL_TARGET+= webvmail