diff options
-rw-r--r-- | comms/asterisk16/Makefile | 6 | ||||
-rw-r--r-- | comms/asterisk16/options.mk | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/comms/asterisk16/Makefile b/comms/asterisk16/Makefile index 300c2a7e71c..8a114527149 100644 --- a/comms/asterisk16/Makefile +++ b/comms/asterisk16/Makefile @@ -1,10 +1,11 @@ -# $NetBSD: Makefile,v 1.72 2020/12/10 13:52:30 gdt Exp $ +# $NetBSD: Makefile,v 1.73 2020/12/31 11:07:01 nia Exp $ # # NOTE: when updating this package, there are two places that sound # tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile # to find out the current sound file versions DISTNAME= asterisk-16.15.0 +PKGREVISION= 1 CATEGORIES= comms net audio MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ @@ -111,7 +112,8 @@ MAKE_FLAGS+= WRKSRC=${WRKSRC} MAKE_FLAGS+= LDOPTS=${LDFLAGS:M*:Q} MAKE_FLAGS+= HTTP_DOCSDIR=${PREFIX}/share/httpd/htdocs MAKE_FLAGS+= HTTP_CGIDIR=${PREFIX}/libexec/cgi-bin -MAKE_FLAGS+= OPTIMIZE=-O3 +MAKE_FLAGS+= OPTIMIZE= +MAKE_FLAGS+= DEBUG= .if !empty(MACHINE_PLATFORM:MSunOS-*-i386) BUILDLINK_TRANSFORM+= rm:-march=i386 diff --git a/comms/asterisk16/options.mk b/comms/asterisk16/options.mk index 079e873246a..b69bc1839db 100644 --- a/comms/asterisk16/options.mk +++ b/comms/asterisk16/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.17 2020/05/31 14:39:32 rillig Exp $ +# $NetBSD: options.mk,v 1.18 2020/12/31 11:07:01 nia Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.asterisk PKG_SUPPORTED_OPTIONS= x11 unixodbc webvmail ldap spandsp @@ -70,6 +70,7 @@ post-configure: ${ECHO} "MENUSELECT_CHANNELS=-chan_mgcp" >> ${WRKSRC}/pkgsrc.makeopts .endif ${ECHO} "MENUSELECT_AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi" >> ${WRKSRC}/pkgsrc.makeopts + ${ECHO} "MENUSELECT_CFLAGS=-BUILD_NATIVE" >> ${WRKSRC}/pkgsrc.makeopts # this is a hack to work around a bug in menuselect cd ${WRKSRC} && make ${MAKE_FLAGS} menuselect.makeopts |