Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462699 - net-misc/suite3270[X]: x3270 subdir does not respect CFLAGS due to xmkmf/imake
Summary: net-misc/suite3270[X]: x3270 subdir does not respect CFLAGS due to xmkmf/imake
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-22 16:04 UTC by Agostino Sarubbo
Modified: 2013-03-27 18:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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