make it work with our new perl and bump
ok sthen@
This commit is contained in:
parent
08b8ce10a8
commit
f7a3ff72a6
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile,v 1.7 2007/11/08 06:43:47 jakob Exp $
|
# $OpenBSD: Makefile,v 1.8 2008/10/02 05:58:56 simon Exp $
|
||||||
|
|
||||||
SHARED_ONLY= Yes
|
SHARED_ONLY= Yes
|
||||||
|
|
||||||
@ -7,7 +7,7 @@ COMMENT= speed up perl scripts by running them persistently
|
|||||||
MODULES= cpan
|
MODULES= cpan
|
||||||
VERSION= 2.22
|
VERSION= 2.22
|
||||||
DISTNAME= CGI-SpeedyCGI-${VERSION}
|
DISTNAME= CGI-SpeedyCGI-${VERSION}
|
||||||
PKGNAME= p5-CGI-SpeedyCGI-${VERSION}p0
|
PKGNAME= p5-CGI-SpeedyCGI-${VERSION}p1
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
|
|
||||||
HOMEPAGE= http://daemoninc.com/SpeedyCGI/
|
HOMEPAGE= http://daemoninc.com/SpeedyCGI/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
$OpenBSD: patch-Makefile_PL,v 1.2 2003/10/31 10:23:47 kevlo Exp $
|
$OpenBSD: patch-Makefile_PL,v 1.3 2008/10/02 05:58:56 simon Exp $
|
||||||
--- Makefile.PL.orig 2003-10-05 06:40:46.000000000 +0000
|
--- Makefile.PL.orig Sun Oct 5 08:40:46 2003
|
||||||
+++ Makefile.PL 2003-10-31 11:14:26.000000000 +0000
|
+++ Makefile.PL Thu Oct 2 00:21:22 2008
|
||||||
@@ -16,12 +16,12 @@ requires a working copy of "apxs" in you
|
@@ -16,12 +16,12 @@ requires a working copy of "apxs" in your path, Apache
|
||||||
support, and additional Apache configuration.
|
support, and additional Apache configuration.
|
||||||
|
|
||||||
END
|
END
|
||||||
@ -16,3 +16,12 @@ $OpenBSD: patch-Makefile_PL,v 1.2 2003/10/31 10:23:47 kevlo Exp $
|
|||||||
die "ERROR: Command 'apxs -q CC' failed.\n"
|
die "ERROR: Command 'apxs -q CC' failed.\n"
|
||||||
unless $macro->{APACHE_APXS_WORKS};
|
unless $macro->{APACHE_APXS_WORKS};
|
||||||
print "Compiling for Apache version $macro->{APACHE_VERSION}\n";
|
print "Compiling for Apache version $macro->{APACHE_VERSION}\n";
|
||||||
|
@@ -71,7 +71,7 @@ readable:
|
||||||
|
chmod -R u+w,go-w,go+r .
|
||||||
|
|
||||||
|
README: src/SpeedyCGI.pm
|
||||||
|
- cd src && $(PERL) -e "use Pod::Text; pod2text(-80)" <SpeedyCGI.pm >../README
|
||||||
|
+ cd src && pod2text -80 <SpeedyCGI.pm >../README
|
||||||
|
|
||||||
|
README.html: src/SpeedyCGI.pm
|
||||||
|
cd src && pod2html SpeedyCGI.pm >../README.html && $(RM_F) pod2h*
|
||||||
|
12
www/p5-CGI-SpeedyCGI/patches/patch-src_speedy_backend_main_h
Normal file
12
www/p5-CGI-SpeedyCGI/patches/patch-src_speedy_backend_main_h
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
$OpenBSD: patch-src_speedy_backend_main_h,v 1.1 2008/10/02 05:58:56 simon Exp $
|
||||||
|
--- src/speedy_backend_main.h.orig Thu Oct 2 00:21:40 2008
|
||||||
|
+++ src/speedy_backend_main.h Thu Oct 2 00:23:12 2008
|
||||||
|
@@ -38,7 +38,7 @@ void * efence_realloc (void *ptr, size_t size);
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
-#define speedy_new(s,n,t) New(123,s,n,t)
|
||||||
|
+#define speedy_new(s,n,t) Newx(s,n,t)
|
||||||
|
#define speedy_renew Renew
|
||||||
|
#define speedy_free Safefree
|
||||||
|
|
Loading…
Reference in New Issue
Block a user