Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2001 23:20:24 +0900 (JST)
From:      Takanori Saneto <sanewo@ba2.so-net.ne.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        shige@freebsd.org
Subject:   ports/28769: ports japanese/xv, graphics/xv-m17n build failure with manpages
Message-ID:  <200107061420.f66EKOS77688@ba2.so-net.ne.jp>

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

>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




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