Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Sep 1996 02:44:23 +0200
From:      "Philippe Charnier" <charnier@xp11.frmug.org>
To:        current@FreeBSD.org
Subject:   current fails to compile + patch
Message-ID:  <199609060044.CAA27459@xp11.frmug.org>

next in thread | raw e-mail | index | archive | help
Hello,

For some programs (libtcl, named-xfer, dig, dnsquery, host, named, 
 named.reload, named.restart, ndc, nslookup) I got:

===> usr.bin/dig
Graph cycles through dig.1

`all' not remade because of errors.


Because I have `NOMANCOMPRESS=  true' in my /etc/make.conf. This is due to
${target} == ${page} in bsd.man.mk. (${target} == ${page}.gz otherwise).
As I was here, I also moved `.if defined(MANFILTER)/.endif' to be consistent 
with the other case. Don't know if it is the way to go but it works now.
 
Index: bsd.man.mk
===================================================================
RCS file: /home2h/FreeBSD.cvsroot/src/share/mk/bsd.man.mk,v
retrieving revision 1.15
diff -u -r1.15 bsd.man.mk
--- bsd.man.mk	1996/08/26 10:55:32	1.15
+++ bsd.man.mk	1996/09/06 00:14:44
@@ -75,20 +75,20 @@
 COPY=		-c
 ZEXT=
 
-.if defined(MANFILTER)
 .for sect in ${SECTIONS}
 .if defined(MAN${sect}) && !empty(MAN${sect})
 CLEANFILES+=	${MAN${sect}}
 .for page in ${MAN${sect}}
-.for target in ${page}
+.for target in ${.OBJDIR}/${page}
 all-man: ${target}
 ${target}: ${page}
+.if defined(MANFILTER)
 	${MANFILTER} < ${.ALLSRC} > ${.TARGET}
+.endif
 .endfor
 .endfor
 .endif
 .endfor
-.endif
 
 .else
 


------                                                            ------ 
Philippe Charnier                               charnier@lirmm.fr (smtp)       
                                          charnier@xp11.frmug.org (uucp) 

    ``a PC not running FreeBSD is like a venusian with no tentacles'' 
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609060044.CAA27459>