Date: Fri, 26 Oct 2018 14:40:54 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483035 - head/mail/milter-callback Message-ID: <201810261440.w9QEesYU090754@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <pkubaj@anongoth.pl> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810261440.w9QEesYU090754>