From owner-freebsd-ports Fri Jul 6 7:30:11 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7D06137B407 for ; Fri, 6 Jul 2001 07:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f66EU2v31011; Fri, 6 Jul 2001 07:30:02 -0700 (PDT) (envelope-from gnats) Received: from mgate05.so-net.ne.jp (mgate05.so-net.ne.jp [210.139.254.152]) by hub.freebsd.org (Postfix) with ESMTP id AC77C37B401; Fri, 6 Jul 2001 07:20:27 -0700 (PDT) (envelope-from sanewo@ba2.so-net.ne.jp) Received: from mail.ba2.so-net.ne.jp (mail.ba2.so-net.ne.jp [210.139.254.21]) by mgate05.so-net.ne.jp (8.8.8+3.0Wbeta9/3.6W01060506) with ESMTP id XAA05462; Fri, 6 Jul 2001 23:20:26 +0900 (JST) Received: from ba2.so-net.ne.jp (pd300b1.tkyoea00.ap.so-net.ne.jp [61.211.0.177]) by mail.ba2.so-net.ne.jp with ESMTP id f66EKP426897; Fri, 6 Jul 2001 23:20:25 +0900 (JST) Received: (from sanewo@localhost) by ba2.so-net.ne.jp (8.11.4/8.11.4) id f66EKOS77688; Fri, 6 Jul 2001 23:20:24 +0900 (JST) (envelope-from sanewo) Message-Id: <200107061420.f66EKOS77688@ba2.so-net.ne.jp> Date: Fri, 6 Jul 2001 23:20:24 +0900 (JST) From: Takanori Saneto To: FreeBSD-gnats-submit@freebsd.org Cc: shige@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/28769: ports japanese/xv, graphics/xv-m17n build failure with manpages Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28769 >Category: ports >Synopsis: ports japanese/xv, graphics/xv-m17n build failure with manpages >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 06 07:30:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Takanori Saneto >Release: FreeBSD 4.3-STABLE i386 >Organization: an individual >Environment: System: FreeBSD muse.sanewo 4.3-STABLE FreeBSD 4.3-STABLE #3: Fri Jul 6 01:38:21 JST 2001 sanewo@muse.sanewo:/export/usr.obj/usr/src/sys/MUSE i386 /usr/ports CVSup'ed as of today. XFREE86_VERSION=4 in /etc/make.conf and XFree86-4.1.0 installed. >Description: Both japanese/xv and graphics/xv-m17n fail to build with following message: make: don't know how to make xv.man. Stop >How-To-Repeat: # cd /usr/ports/{japanese/xv,graphics/xv-m17n} # make >Fix: xv.man etc. should be copied from work/xv-3.10a/docs to work/xv-3.10a even when NOMAN is defined because ``all'' target tries to build HTML manpages from man sources. I've got two ideas to fix this problem. Idea 1: In post-patch target of graphics/xv/Makefile, when NOMAN is defined, apply patch so that InstallManPage() targets are removed from work/xv-3.10a/Imakefile. --- Makefile.orig Sat Jun 16 01:29:29 2001 +++ Makefile Fri Jul 6 23:07:37 2001 @@ -62,6 +62,9 @@ .for i in ${MAN1} @${CP} ${WRKSRC}/docs/${i:R}.man ${WRKSRC} .endfor +.if defined(NOMAN) + ${PATCH} ${PATCH_ARGS} -p0 <${FILESDIR}/noman-patch +.endif post-install: --- /dev/null Fri Jul 6 23:16:20 2001 +++ files/noman-patch Fri Jul 6 23:08:40 2001 @@ -0,0 +1,15 @@ +--- Imakefile.orig Fri Jul 6 23:08:11 2001 ++++ Imakefile Fri Jul 6 23:08:24 2001 +@@ -301,12 +301,6 @@ + #endif + + +-InstallManPage(xv,$(MANDIR)) +-InstallManPage(bggen,$(MANDIR)) +-InstallManPage(xcmap,$(MANDIR)) +-InstallManPage(xvp2p,$(MANDIR)) +-InstallManPage(vdcomp,$(MANDIR)) +- + InstallNonExecFile(xv_mgcsfx.sample,$(MGCSFXDIR)) + + tar: Idea 2: Fix graphics/xv/Makefile so that it copies .man files even when NOMAN is defined. --- Makefile.orig Sat Jun 16 01:29:29 2001 +++ Makefile Fri Jul 6 22:46:04 2001 @@ -40,8 +40,9 @@ png.4:${PORTSDIR}/graphics/png USE_IMAKE= yes -.if !defined(NOMAN) -MAN1= bggen.1 vdcomp.1 xcmap.1 xv.1 xvp2p.1 +MANlist= bggen.1 vdcomp.1 xcmap.1 xv.1 xvp2p.1 +.if !defined(NOMAN) +MAN1= ${MANlist} .endif XVDIST= ${DISTDIR}/${DIST_SUBDIR} @@ -59,7 +60,7 @@ @${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h.in @${CAT} ${WRKSRC}/config.h.in | \ ${SED} -e "s@%%LOCALBASE%%@${LOCALBASE}@" > ${WRKSRC}/config.h -.for i in ${MAN1} +.for i in ${MANlist} @${CP} ${WRKSRC}/docs/${i:R}.man ${WRKSRC} .endfor >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message