From chrise@scardini.com  Sun Dec 23 12:17:15 2001
Return-Path: <chrise@scardini.com>
Received: from hronir.scardini.com (dsl-209-162-215-176.easystreet.com [209.162.215.176])
	by hub.freebsd.org (Postfix) with ESMTP id 7E5FA37B416
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 Dec 2001 12:17:14 -0800 (PST)
Received: from tlon.lan.scardini.com (tlon.lan.scardini.com [192.168.2.2])
	by hronir.scardini.com (8.11.6/8.11.6) with ESMTP id fBNKHDX76192
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 Dec 2001 12:17:13 -0800 (PST)
	(envelope-from chrise@hronir.lan.scardini.com)
Received: (from chrise@localhost)
	by tlon.lan.scardini.com (8.11.6/8.11.6) id fBNKHDb01977;
	Sun, 23 Dec 2001 12:17:13 -0800 (PST)
	(envelope-from chrise)
Message-Id: <200112232017.fBNKHDb01977@tlon.lan.scardini.com>
Date: Sun, 23 Dec 2001 12:17:13 -0800 (PST)
From: Christopher Elkins <chrise@scardini.com>
Reply-To: Christopher Elkins <chrise@scardini.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: textproc/man2html doesn't install man.cgi
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         33119
>Category:       ports
>Synopsis:       textproc/man2html doesn't install man.cgi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    demon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 23 12:20:01 PST 2001
>Closed-Date:    Sun Dec 23 13:28:48 PST 2001
>Last-Modified:  Sun Dec 23 13:29:09 PST 2001
>Originator:     Christopher Elkins
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD tlon.lan.scardini.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Fri Nov 30 17:22:23 PST 2001 chrise@tlon.lan.scardini.com:/usr/src/sys/compile/TLON i386


	
>Description:
man.cgi isn't installed for two reasons:
  1) Test for existence of cgi-bin directory uses the wrong flag.
  2) man.cgi is installed as a binary (but it's not), so strip fails.
>How-To-Repeat:
Install port and look in ${PREFIX}/www/cgi-bin. See that man.cgi isn't there.
>Fix:

diff -c -r man2html.orig/Makefile man2html/Makefile
*** man2html.orig/Makefile	Sun Dec 23 11:51:09 2001
--- man2html/Makefile	Sun Dec 23 11:52:49 2001
***************
*** 29,36 ****
  	${PERL5} ${WRKSRC}/install.me -batch -binpath ${PREFIX}/bin \
  	-manpath ${PREFIX}/man -libpath ${PREFIX}/lib \
  	-perlpath ${PERL5}
! 	if [ -f ${CGIDIR} ] ; then \
! 		${INSTALL_PROGRAM} ${WRKSRC}/man.cgi ${CGIDIR} ; \
  	fi
  
  .include <bsd.port.mk>
--- 29,36 ----
  	${PERL5} ${WRKSRC}/install.me -batch -binpath ${PREFIX}/bin \
  	-manpath ${PREFIX}/man -libpath ${PREFIX}/lib \
  	-perlpath ${PERL5}
! 	if [ -d ${CGIDIR} ] ; then \
! 		${INSTALL_SCRIPT} ${WRKSRC}/man.cgi ${CGIDIR} ; \
  	fi
  
  .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->demon 
Responsible-Changed-By: petef 
Responsible-Changed-When: Sun Dec 23 12:50:58 PST 2001 
Responsible-Changed-Why:  
Over to maintainer 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33119 
State-Changed-From-To: open->closed 
State-Changed-By: demon 
State-Changed-When: Sun Dec 23 13:28:48 PST 2001 
State-Changed-Why:  
Fixed, thanks for your report! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33119 
>Unformatted:
