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

Bug 69678

Summary: net-p2p/ctorrent doesn't obey /etc/make.conf compiler flags
Product: Gentoo Linux Reporter: Matthew Kennedy (RETIRED) <mkennedy>
Component: New packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED INVALID    
Severity: normal CC: agriffis
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506    

Description Matthew Kennedy (RETIRED) gentoo-dev 2004-10-31 16:50:47 UTC
Ignores CFLAGS/CXXFLAGS.
Comment 1 Jon Hood (RETIRED) gentoo-dev 2004-11-28 19:23:38 UTC
net-p2p/ctorrent-1.3.4-r1 should resolve this; thank you :)
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2005-06-28 17:36:47 UTC
This is completely incorrect.  GNU configure picks up CFLAGS from the
environment automatically and applies them to the Makefiles.  This is how most
of the packages in portage work.

Look at the output from emerging ctorrent-1.3.4, which is clearly honoring
CFLAGS correctly.

if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.     -O2 -march=k8 -pipe
-MT bencode.o -MD -MP -MF ".deps/bencode.Tpo" \
  -c -o bencode.o `test -f 'bencode.cpp' || echo './'`bencode.cpp; \
then mv -f ".deps/bencode.Tpo" ".deps/bencode.Po"; \
else rm -f ".deps/bencode.Tpo"; exit 1; \
fi

There are no modifications of value in ctorrent-1.3.4-r1 except for the recent
~amd64 KEYWORD addition.  The DEPEND change is also wrong since dev-libs/openssl
should be in both DEPEND and RDEPEND (as it was implicitly before)

John, please do the following:
   cp ctorrent-1.3.4.ebuild ctorrent-1.3.4-r1.ebuild
   ekeyword ~amd64 ctorrent-1.3.4-r1.ebuild
   cvs rm -f ctorrent-1.3.4.ebuild files/digest-ctorrent-1.3.4

then echangelog and commit.  Tag me on IRC if this is confusing or you have any
questions.
Comment 3 Marcin Kryczek (RETIRED) gentoo-dev 2005-09-13 16:24:12 UTC
fixed in cvs. i'm closing it as INVALID since the initial report was in fact 
invalid