mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
Fix build with GCC-based architectures. GCC architectures require
CFLAGS+=-fnested-functions. PR: 232646 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> MFH: 2018Q4 (blanket)
This commit is contained in:
parent
ea0dbea905
commit
8225837c5e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483035
@ -12,10 +12,6 @@ COMMENT= Milter to perform a envelope-from sender verification on target MX
|
||||
|
||||
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 detectlamespf.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:
|
||||
|
Loading…
Reference in New Issue
Block a user