diff options
author | adrianp <adrianp> | 2007-11-22 23:00:39 +0000 |
---|---|---|
committer | adrianp <adrianp> | 2007-11-22 23:00:39 +0000 |
commit | 9cabcc05e2460868ca8d7802d87c713969f25ffd (patch) | |
tree | 919ba60c1ec6c38445b5fe584fd5b9bd9c1ef374 /www | |
parent | 6c0d01772c4b1c60fa0e7ad21ea155fae55a0fc0 (diff) | |
download | pkgsrc-9cabcc05e2460868ca8d7802d87c713969f25ffd.tar.gz |
Fix build on OS/X
PKGREVISION++
Diffstat (limited to 'www')
-rw-r--r-- | www/SpeedyCGI/DESCR | 4 | ||||
-rw-r--r-- | www/SpeedyCGI/Makefile | 4 | ||||
-rw-r--r-- | www/SpeedyCGI/distinfo | 3 | ||||
-rw-r--r-- | www/SpeedyCGI/patches/patch-ab | 10 |
4 files changed, 16 insertions, 5 deletions
diff --git a/www/SpeedyCGI/DESCR b/www/SpeedyCGI/DESCR index 393758e7258..ba3bab0540b 100644 --- a/www/SpeedyCGI/DESCR +++ b/www/SpeedyCGI/DESCR @@ -2,11 +2,11 @@ SpeedyCGI is a way to run perl scripts persistently, which can make them run 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 --git a/www/SpeedyCGI/Makefile b/www/SpeedyCGI/Makefile index fd73f1113dc..bdde514ebc3 100644 --- a/www/SpeedyCGI/Makefile +++ b/www/SpeedyCGI/Makefile @@ -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 --git a/www/SpeedyCGI/distinfo b/www/SpeedyCGI/distinfo index 8cc8abe08b9..a54f38f8314 100644 --- a/www/SpeedyCGI/distinfo +++ b/www/SpeedyCGI/distinfo @@ -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 --git a/www/SpeedyCGI/patches/patch-ab b/www/SpeedyCGI/patches/patch-ab new file mode 100644 index 00000000000..7cf7ab52fd9 --- /dev/null +++ b/www/SpeedyCGI/patches/patch-ab @@ -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; |