Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 462699

Summary: net-misc/suite3270[X]: x3270 subdir does not respect CFLAGS due to xmkmf/imake
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: s390
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2013-03-22 16:04:17 UTC
You receive this bug because this package does not respect my system's CFLAGS
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can
2)inherit toolchain-funcs and use emake CFLAGS="${CFLAGS}" (if it does not break)

THE BUILDSYSTEM PARTIALLY UNRESPECT THE CFLAGS, e.g. :

x86_64-pc-linux-gnu-gcc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                              
-D_POSIX_SOURCE -D_XOPEN_SOURCE                             -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                                               
-DFUNCPROTO=15 -DNARROWPROTO      -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -DLIBX3270DIR=\"/etc/x3270\"   -c -o Cme.o Cme.c
x86_64-pc-linux-gnu-gcc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                              
-D_POSIX_SOURCE -D_XOPEN_SOURCE                             -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                                               
-DFUNCPROTO=15 -DNARROWPROTO      -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -DLIBX3270DIR=\"/etc/x3270\"   -c -o CmeBSB.o CmeBSB.c
x86_64-pc-linux-gnu-gcc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                              
-D_POSIX_SOURCE -D_XOPEN_SOURCE                             -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                                               
-DFUNCPROTO=15 -DNARROWPROTO      -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -DLIBX3270DIR=\"/etc/x3270\"   -c -o CmeLine.o CmeLine.c
x86_64-pc-linux-gnu-gcc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                              
-D_POSIX_SOURCE -D_XOPEN_SOURCE                             -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                                               
-DFUNCPROTO=15 -DNARROWPROTO      -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -DLIBX3270DIR=\"/etc/x3270\"   -c -o CmplxMenu.o CmplxMenu.c
Comment 1 SpanKY gentoo-dev 2013-03-27 18:41:33 UTC
should be all set now in the tree; thanks for the report!

Commit message: Avoid use of xmkmf/imake
http://sources.gentoo.org/net-misc/suite3270/suite3270-3.3.12_p12.ebuild?r1=1.6&r2=1.7