pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/SpeedyCGI Fix build on OS/X



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f919e34460a8
branches:  trunk
changeset: 535594:f919e34460a8
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Thu Nov 22 23:00:39 2007 +0000

description:
Fix build on OS/X
PKGREVISION++

diffstat:

 www/SpeedyCGI/DESCR            |   4 ++--
 www/SpeedyCGI/Makefile         |   4 ++--
 www/SpeedyCGI/distinfo         |   3 ++-
 www/SpeedyCGI/patches/patch-ab |  10 ++++++++++
 4 files changed, 16 insertions(+), 5 deletions(-)

diffs (57 lines):

diff -r 1a31cb9f4eda -r f919e34460a8 www/SpeedyCGI/DESCR
--- a/www/SpeedyCGI/DESCR       Thu Nov 22 22:56:01 2007 +0000
+++ b/www/SpeedyCGI/DESCR       Thu Nov 22 23:00:39 2007 +0000
@@ -2,11 +2,11 @@
 much more quickly. A script can be made to to run persistently by changing
 the interpreter line at the top of the script from:
 
-    #!${LOCALBASE}/bin/perl
+    #!${PREFIX}/bin/perl
 
 to
 
-    #!${LOCALBASE}/bin/speedy
+    #!${PREFIX}/lib/perl5/vendor_perl/bin/speedy
 
 After the script is initially run, instead of exiting, the perl interpreter
 is kept running. During subsequent runs, this interpreter is used to handle
diff -r 1a31cb9f4eda -r f919e34460a8 www/SpeedyCGI/Makefile
--- a/www/SpeedyCGI/Makefile    Thu Nov 22 22:56:01 2007 +0000
+++ b/www/SpeedyCGI/Makefile    Thu Nov 22 23:00:39 2007 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2007/11/22 21:53:16 adrianp Exp $
+# $NetBSD: Makefile,v 1.8 2007/11/22 23:00:40 adrianp Exp $
 
 DISTNAME=      CGI-SpeedyCGI-2.22
 PKGNAME=       SpeedyCGI-2.22
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    www
 MASTER_SITES=  http://daemoninc.com/SpeedyCGI/
 
diff -r 1a31cb9f4eda -r f919e34460a8 www/SpeedyCGI/distinfo
--- a/www/SpeedyCGI/distinfo    Thu Nov 22 22:56:01 2007 +0000
+++ b/www/SpeedyCGI/distinfo    Thu Nov 22 23:00:39 2007 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 14:08:26 wiz Exp $
+$NetBSD: distinfo,v 1.3 2007/11/22 23:00:40 adrianp Exp $
 
 SHA1 (CGI-SpeedyCGI-2.22.tar.gz) = 155437a83eedc2cb1ae2b9f93a731a0cfb7ce7f2
 RMD160 (CGI-SpeedyCGI-2.22.tar.gz) = 90bc10281f4380d6d9e3b376ce385567fb3d165d
 Size (CGI-SpeedyCGI-2.22.tar.gz) = 151946 bytes
 SHA1 (patch-aa) = 099bf2fa764488a70cf1b70ef9b7cfb44dc70853
+SHA1 (patch-ab) = dc6c90c52a855280824738e98301560640932cfa
diff -r 1a31cb9f4eda -r f919e34460a8 www/SpeedyCGI/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/SpeedyCGI/patches/patch-ab    Thu Nov 22 23:00:39 2007 +0000
@@ -0,0 +1,10 @@
+$NetBSD: patch-ab,v 1.1 2007/11/22 23:00:40 adrianp Exp $
+
+--- src/speedy_perl.h.orig     2003-10-07 05:03:48.000000000 +0100
++++ src/speedy_perl.h
+@@ -21,4 +21,4 @@ void speedy_perl_init(void);
+ void speedy_perl_run(slotnum_t _gslotnum, slotnum_t _bslotnum);
+ int speedy_perl_fork(void);
+ 
+-PerlInterpreter  *my_perl;
++extern        PerlInterpreter  *my_perl;



Home | Main Index | Thread Index | Old Index