From owner-svn-ports-all@freebsd.org Fri Oct 26 14:40:55 2018 Return-Path: Delivered-To: svn-ports-all@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 A280410E8CBE; Fri, 26 Oct 2018 14:40:55 +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 5577779E47; Fri, 26 Oct 2018 14:40:55 +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 37FC8224A9; Fri, 26 Oct 2018 14:40:55 +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 w9QEesjf090755; Fri, 26 Oct 2018 14:40:54 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9QEesYU090754; Fri, 26 Oct 2018 14:40:54 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201810261440.w9QEesYU090754@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:40:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483035 - head/mail/milter-callback X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: head/mail/milter-callback X-SVN-Commit-Revision: 483035 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2018 14:40:55 -0000 Author: ehaupt Date: Fri Oct 26 14:40:54 2018 New Revision: 483035 URL: https://svnweb.freebsd.org/changeset/ports/483035 Log: Fix build with GCC-based architectures. GCC architectures require CFLAGS+=-fnested-functions. PR: 232646 Submitted by: Piotr Kubaj MFH: 2018Q4 (blanket) Modified: head/mail/milter-callback/Makefile Modified: head/mail/milter-callback/Makefile ============================================================================== --- head/mail/milter-callback/Makefile Fri Oct 26 13:58:02 2018 (r483034) +++ head/mail/milter-callback/Makefile Fri Oct 26 14:40:54 2018 (r483035) @@ -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: