> 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 was looking for.
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-upscable=usb \
--prefix=/usr \
--sbindir=/sbin \
--with-cgi-bin=/var/www/cgi-bin \
--enable-cgi \
--with-css-dir=/var/www/docs/css \
--with-log-dir=/etc/apcupsd \
--enable-pthreads \
--enable-powerflute
...
...
--with-serial-dev=<your-SNMP-device> \
--with-upstype=snmp \
--with-upscable=smart \
--enable-pthreads \
--enable-snmp
Once again thank for the help.
Regards,
Richard
--
[email protected] mailing list