Re: [gentoo-user] how to determin CFLAGS used in a package emerge

2006-05-23 Thread Neil Bothwick
On Tue, 23 May 2006 10:31:17 -0300, Pablo Antonio wrote: > > cat /var/db/pkg/cate-gory/package-version/CFLAGS > When is that information created? Once a new package is installed? I'm > asking about the /var/db/* directories. Yes, look at the timestamps on the files, you'll see they correspond wi

Re: [gentoo-user] how to determin CFLAGS used in a package emerge

2006-05-23 Thread Pablo Antonio
On 22:37 Mon 22 May , Neil Bothwick wrote: > On Mon, 22 May 2006 14:10:44 -0700 (PDT), Richard Broersma Jr wrote: > > > Is there are way to determine the CFLAGS options used to build/emerge a > > specific package? > > genlop -i package > > or > > cat /var/db/pkg/cate-gory/package-version/CF

Re: [gentoo-user] how to determin CFLAGS used in a package emerge

2006-05-22 Thread Richard Broersma Jr
> Neither. These are all options passed to the configure script - in this > case, CFLAGS and LDFLAGS are set as environment variables for it (since > they're specified prior to the actual ./configure call). Configure > options are set by the ebuild in Gentoo, so you could conceivably look > t

Re: [gentoo-user] how to determin CFLAGS used in a package emerge

2006-05-22 Thread Ryan Tandy
Richard Broersma Jr wrote: I misread this little snippet from the apcupsd manual and thought I was looking for CFLAGS: Perhaps "LDFLAGS" were what I was actually looking for? CFLAGS="-g -O2" LDFLAGS="-g" ./configure \ --enable-usb \ --with-upstype=usb \ --with-upscab

Re: [gentoo-user] how to determin CFLAGS used in a package emerge

2006-05-22 Thread Richard Broersma Jr
> cat /var/db/pkg/"sys-power/apcupsd-3.10.18-r1/" Thanks guys for the help. I found that apcupsd-3.10.18-r1.ebuild had the compiler options that I was looking for. It looks like I was incorrecting calling the compiler options CFLAGS. But thanks for the help because I was able to find what I w

Re: [gentoo-user] how to determin CFLAGS used in a package emerge

2006-05-22 Thread Neil Bothwick
On Mon, 22 May 2006 14:10:44 -0700 (PDT), Richard Broersma Jr wrote: > Is there are way to determine the CFLAGS options used to build/emerge a > specific package? genlop -i package or cat /var/db/pkg/cate-gory/package-version/CFLAGS -- Neil Bothwick The number one cause of computer problems

Re: [gentoo-user] how to determin CFLAGS used in a package emerge

2006-05-22 Thread Teresa and Dale
Richard Broersma Jr wrote: >Is there are way to determine the CFLAGS options used to build/emerge a >specific package? > >In my case, I am specifically looking to determine which CFLAG options where >used to build the >apcupsd package to determine if it has SNMP support built in or not? > >Any

[gentoo-user] how to determin CFLAGS used in a package emerge

2006-05-22 Thread Richard Broersma Jr
Is there are way to determine the CFLAGS options used to build/emerge a specific package? In my case, I am specifically looking to determine which CFLAG options where used to build the apcupsd package to determine if it has SNMP support built in or not? Any advice or tech docs is greatly appre