[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ${COPTS} ignored



I wrote in the message <19990113182111T_(_dot_)_wd_(_at_)_vulcan_(_dot_)_ics_(_dot_)_nara-wu_(_dot_)_ac_(_dot_)_jp>:
> Anyway, I will make, in a few days, a list of the subdirectories under
> which ${COPTS} is ignored.

Here is the list.  I will try to make patches to solve the problem.

games/adventure	(partially ignore)
usr.bin/less
usr.sbin/httpd
gnu/usr.bin/bc
gnu/usr.bin/cvs
gnu/usr.bin/groff
gnu/usr.bin/lynx
gnu/usr.bin/perl
gnu/usr.bin/rcs
gnu/usr.bin/texinfo

> In the case of httpd, substitution of CFLAGS="${CFLAGS}" with
> CFLAGS="${CFLAGS} ${COPTS}" in
> /usr/src/usr.sbin/httpd/src/Makefile.bsd-wrapper solved the problem.
> I wonder if it is a good solution.  Substitution with
> CFLAGS="${CFLAGS} ${DEBUG} ${COPTS}" may be better.  So may be
> including of some makefile.

${DEBUG} need not be here since it is added to ${CFLAGS} in sys.mk.
Appending .include <bsd.prog.mk> at the bottom of Makefile.bsd-wrapper
does not work.  So CFLAGS="${CFLAGS} ${COPTS}" is the only solution
for me right now.

		Kamo Hiroyasu
		[Kamo is the family name and Hiroyasu the given name.]


Visit your host, monkey.org