Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2001 12:17:13 -0800 (PST)
From:      Christopher Elkins <chrise@scardini.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/33119: textproc/man2html doesn't install man.cgi
Message-ID:  <200112232017.fBNKHDb01977@tlon.lan.scardini.com>

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

>Number:         33119
>Category:       ports
>Synopsis:       textproc/man2html doesn't install man.cgi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 23 12:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>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:
>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?200112232017.fBNKHDb01977>