On Wed, Oct 23, 2002 at 01:08:31AM +0700, Max Khon wrote:
> hi, there!
> 
> cross-building -CURRENT on RELENG_4 is broken in src/usr.bin/xlint/lint1:
> 
> --- cut here ---
> ...
> sh /usr/fbsd/HEAD/src/usr.bin/xlint/lint1/makeman /usr/libexec/lint1 -m >lint.7
> lint1: illegal option -- m
> usage: lint1 [-abcdeghprstuvyzF] src dest
> gzip -cn lint.7 > lint.7.gz
> --- cut here ---
> 
Peter has "broken" it in his latest revision to xlint/lint1/Makefile.
This should fix it:

%%%
Index: Makefile
===================================================================
RCS file: /home/ncvs/src/usr.bin/xlint/lint1/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile    17 Sep 2002 01:49:00 -0000      1.15
+++ Makefile    23 Oct 2002 10:58:53 -0000
@@ -17,6 +17,6 @@
 .PATH: ${.CURDIR}/../common
 
 lint.7: makeman
-       sh ${.CURDIR}/makeman ${BINDIR}/${PROG} -m >${.TARGET}
+       sh ${.CURDIR}/makeman ${DESTDIR}${BINDIR}/${PROG} -m >${.TARGET}
 
 .include <bsd.prog.mk>
%%%

DESTDIR is set to WORLDTMP during buildworld (WMAKEENV in Makefile.inc1).


Cheers,
-- 
Ruslan Ermilov          Sysadmin and DBA,
[EMAIL PROTECTED]           Sunbay Software AG,
[EMAIL PROTECTED]          FreeBSD committer,
+380.652.512.251        Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

Attachment: msg44803/pgp00000.pgp
Description: PGP signature

Reply via email to