Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2002 21:49:53 +0900 (JST)
From:      Kazutoshi Kubota <tu7k-kbt@asahi-net.or.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34903: japanese/man is not LOCALBASE clean
Message-ID:  <20020213.214953.128895839.tu7k-kbt@asahi-net.or.jp>

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

>Number:         34903
>Category:       ports
>Synopsis:       japanese/man is not LOCALBASE clean
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 13 05:00:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kazutoshi Kubota
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
CBUG - Tokyo west area BSD Users Group
>Environment:
System: FreeBSD flea.willbe6.org 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Thu Jan 31 06:58:15 GMT 2002 root@flea.willbe6.org:/usr/obj/usr/src/sys/AVENTURE i386

>Description:
jman needs some ja-groff commands for running, but some programs are
hard coded /usr/local, and they fail to find ja-groff commands.
As a result jman is not work.

>How-To-Repeat:
1. Install japanese/groff and japanese/man into /opt (or other
   non-default LOCALBASE).
2. Display any japanese man page.

>Fix:
diff -urN man.orig/Makefile man/Makefile
--- man.orig/Makefile	Fri Feb  1 14:09:30 2002
+++ man/Makefile	Fri Feb  1 15:34:37 2002
@@ -30,6 +30,15 @@
 MAN8=		jmakewhatis.local.8 jcatman.local.8
 MANCOMPRESSED=	yes
 
+post-patch:
+.for file in	apropos/apropos.sh catman/catman.perl \
+		makewhatis/jmakewhatis.local.man \
+		makewhatis/jmakewhatis.local.man.eng \
+		makewhatis/makewhatis.local.sh \
+		man/locale.c manpath/manpath.config
+	${PERL} -pi -e "s|/usr/local|${LOCALBASE}|g" ${WRKSRC}/${file}
+.endfor
+
 pre-install:
 	@${SETENV} PKG_PREFIX=${PREFIX} \
 		${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
>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?20020213.214953.128895839.tu7k-kbt>