[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pkgsrc-changes
Subject:    CVS commit: pkgsrc/comms/asterisk16
From:       "Nia Alarie" <nia () netbsd ! org>
Date:       2020-12-31 11:07:01
Message-ID: 20201231110701.F3796FA9D () cvs ! NetBSD ! org
[Download RAW message or body]

This is a multi-part message in MIME format.

--_----------=_1609412821166610
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="US-ASCII"

Module Name:	pkgsrc
Committed By:	nia
Date:		Thu Dec 31 11:07:01 UTC 2020

Modified Files:
	pkgsrc/comms/asterisk16: Makefile options.mk

Log Message:
asterisk16: Avoid using -march=native, it breaks binary packages.

Also avoid passing crazy optimization and debug flags in general, just
honor the user's CFLAGS.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 pkgsrc/comms/asterisk16/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/comms/asterisk16/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.


--_----------=_1609412821166610
Content-Disposition: inline
Content-Length: 2101
Content-Transfer-Encoding: binary
Content-Type: text/x-diff; charset=us-ascii

Modified files:

Index: pkgsrc/comms/asterisk16/Makefile
diff -u pkgsrc/comms/asterisk16/Makefile:1.72 pkgsrc/comms/asterisk16/Makefile:1.73
--- pkgsrc/comms/asterisk16/Makefile:1.72	Thu Dec 10 13:52:30 2020
+++ pkgsrc/comms/asterisk16/Makefile	Thu Dec 31 11:07:01 2020
@@ -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

Index: pkgsrc/comms/asterisk16/options.mk
diff -u pkgsrc/comms/asterisk16/options.mk:1.17 \
                pkgsrc/comms/asterisk16/options.mk:1.18
--- pkgsrc/comms/asterisk16/options.mk:1.17	Sun May 31 14:39:32 2020
+++ pkgsrc/comms/asterisk16/options.mk	Thu Dec 31 11:07:01 2020
@@ -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
 


--_----------=_1609412821166610--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic