ports/51507: fix port: www/p5-CGI-SpeedyCGI
Yen-Ming Lee
leeym at utopia.leeym.com
Mon Apr 28 20:20:07 UTC 2003
>Number: 51507
>Category: ports
>Synopsis: fix port: www/p5-CGI-SpeedyCGI
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 28 13:20:03 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 5.0-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.0-RELEASE-p3 FreeBSD 5.0-RELEASE-p3 #41: Sun Mar 2 05:56:42 CST 2003 root at utopia.leeym.com:/mnt/obj/usr/src/sys/UTOPIA i386
>Description:
SpeedyCGI set wrong default path of speed_backend under perl-5.005, which
cause SpeedyCGI generate this kind of error message:
speedy[38567]: /usr/bin/speedy_backend: No such file or directory
speedy[38565]: Cannot spawn backend process
>How-To-Repeat:
under perl-5.005
#cd /usr/ports/www/p5-CGI-SpeedyCGI && make configure
then check PERFIX in ${WRKSRC}/src/Makefile. It shows "PREFIX = /usr"
>Fix:
--- p5-CGI-SpeedyCGI.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/p5-CGI-SpeedyCGI/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile 11 Apr 2003 02:17:22 -0000 1.4
+++ Makefile 28 Apr 2003 20:09:11 -0000
@@ -7,7 +7,7 @@
PORTNAME= CGI-SpeedyCGI
PORTVERSION= 2.21
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= CGI
@@ -17,6 +17,9 @@
COMMENT= Speed up perl CGI scripts by running them persistently
PERL_CONFIGURE= yes
+
+post-configure:
+ @${PERL} -pi.bak -e 's,^PREFIX = /usr$$,PREFIX = ${PREFIX},g' ${WRKSRC}/*/Makefile
post-install:
@${INSTALL_PROGRAM} ${WRKSRC}/speedy/speedy ${PREFIX}/bin/speedy_suid
--- p5-CGI-SpeedyCGI.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list