From owner-svn-ports-branches@freebsd.org Fri Oct 26 14:42:27 2018 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28A7B10E90E4; Fri, 26 Oct 2018 14:42:27 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CD8797A376; Fri, 26 Oct 2018 14:42:26 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0DD042262B; Fri, 26 Oct 2018 14:42:25 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9QEgOxt095930; Fri, 26 Oct 2018 14:42:24 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9QEgOR3095929; Fri, 26 Oct 2018 14:42:24 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201810261442.w9QEgOR3095929@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Fri, 26 Oct 2018 14:42:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r483037 - branches/2018Q4/mail/milter-callback X-SVN-Group: ports-branches X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: branches/2018Q4/mail/milter-callback X-SVN-Commit-Revision: 483037 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2018 14:42:27 -0000 Author: ehaupt Date: Fri Oct 26 14:42:24 2018 New Revision: 483037 URL: https://svnweb.freebsd.org/changeset/ports/483037 Log: MFH: r483035 Fix build with GCC-based architectures. GCC architectures require CFLAGS+=-fnested-functions. PR: 232646 Submitted by: Piotr Kubaj Approved by: ports-secteam (blanket) Modified: branches/2018Q4/mail/milter-callback/Makefile Directory Properties: branches/2018Q4/ (props changed) Modified: branches/2018Q4/mail/milter-callback/Makefile ============================================================================== --- branches/2018Q4/mail/milter-callback/Makefile Fri Oct 26 14:42:15 2018 (r483036) +++ branches/2018Q4/mail/milter-callback/Makefile Fri Oct 26 14:42:24 2018 (r483037) @@ -12,10 +12,6 @@ COMMENT= Milter to perform a envelope-from sender veri LICENSE= GPLv3 -BROKEN_mips= fails to build: error: nested functions are disabled, use -fnested-functions to re-enable -BROKEN_mips64= fails to build: error: nested functions are disabled, use -fnested-functions to re-enable -BROKEN_powerpc64= fails to build: error: nested functions are disabled, use -fnested-functions to re-enable - LIB_DEPENDS= libspf2.so:mail/libspf2 USES= tar:xz @@ -30,6 +26,12 @@ SRC_FILES= cache.c commonprocs.c cpit.c dealwithmxes.c CFLAGS+= -DFREEBSD -DHAVE_NS_TYPE -DWITH_SPF -I${LOCALBASE}/include \ -I${WRKSRC} -std=gnu99 +CFLAGS_mips= -fnested-functions +CFLAGS_mips64= -fnested-functions +CFLAGS_powerpc= -fnested-functions +CFLAGS_powerpcspe= -fnested-functions +CFLAGS_powerpc64= -fnested-functions +CFLAGS_sparc64= -fnested-functions LDFLAGS+= -lmilter -lthr -L${LOCALBASE}/lib -lspf2 do-build: