Hello guys. I've started this port long time ago and now I think I'm close to
finish it. But I've noticed two problems. First of them related to incorrect
determination of libgd:
on configure stage:

checking for gdImagePng in -lgd... no
checking for gdImageGif in -lgd... no
checking for gdImagePng in -lgd... no
checking for gdImageGif in -lgd... no
using GIF file format (local copy of libgd).
............................................
config.status: creating src/gd1.2/Makefile
............................................
Doing make of dependencies
Nothing to do for depend.
make: don't know how to make depend. Stop in
/usr/ports/sysutils/apcupsd/w-apcupsd-3.14.3/apcupsd-3.14.3/src/gd1.2.
*** Error code 2

Stop in /usr/ports/sysutils/apcupsd/w-apcupsd-3.14.3/apcupsd-3.14.3/src (line
296 of Makefile).
*** Error code 1

Stop in /usr/ports/sysutils/apcupsd/w-apcupsd-3.14.3/apcupsd-3.14.3 (line 291
of Makefile).

This message wasn't noticed before, cause I wasn't considerate towards such
problems.

And the second problem which I can't solve appeared after Stuart Henderson
pointed me on my mistake of hardcoding ${SYSCONFDIR}=/etc/apcupsd in Makefile.
I removed this line and tried to tell it with
"--sysconfdir={SYSCONFDIR}/apcupsd", but it doesn't work. If I'm telling such
parameter to ./configure - it works.


Can you help me to fix both of these errors?
Thanks for advance anyway.

Port is here: http://www.linklevel.net/apcupsd.tar.gz
-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Reply via email to