diff options
author | adrianp <adrianp@pkgsrc.org> | 2008-10-20 20:41:47 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2008-10-20 20:41:47 +0000 |
commit | 698b5f12cc1c33aad8144c227c08b999ed3214b9 (patch) | |
tree | 3ad0ec1db00dd78bd7d463a392b1c567f9e636ef /www/SpeedyCGI | |
parent | 36404813ad6f4a58ef432d880c94a35e7d12be8a (diff) | |
download | pkgsrc-698b5f12cc1c33aad8144c227c08b999ed3214b9.tar.gz |
Fix to work with new perl
Patches from OpenBSD
Diffstat (limited to 'www/SpeedyCGI')
-rw-r--r-- | www/SpeedyCGI/Makefile | 13 | ||||
-rw-r--r-- | www/SpeedyCGI/distinfo | 4 | ||||
-rw-r--r-- | www/SpeedyCGI/patches/patch-ac | 13 | ||||
-rw-r--r-- | www/SpeedyCGI/patches/patch-ad | 13 |
4 files changed, 39 insertions, 4 deletions
diff --git a/www/SpeedyCGI/Makefile b/www/SpeedyCGI/Makefile index 283fd8e7991..3fcb985eb24 100644 --- a/www/SpeedyCGI/Makefile +++ b/www/SpeedyCGI/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.10 2008/10/19 19:19:24 he Exp $ +# $NetBSD: Makefile,v 1.11 2008/10/20 20:41:47 adrianp Exp $ DISTNAME= CGI-SpeedyCGI-2.22 PKGNAME= SpeedyCGI-2.22 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= www MASTER_SITES= http://daemoninc.com/SpeedyCGI/ @@ -12,7 +12,14 @@ COMMENT= Speed up perl scripts by running them persistently PKG_DESTDIR_SUPPORT= user-destdir -PERL5_PACKLIST= auto/CGI/SpeedyCGI/.packlist +BUILDLINK_API_DEPENDS.perl+= perl>=5.10 +PERL5_PACKLIST= auto/CGI/SpeedyCGI/.packlist + +SUBST_CLASSES+= run +SUBST_STAGE.run= post-patch +SUBST_FILES.run= src/optdefs +SUBST_SED.run+= -e "s|@@PREFIX@@|${PREFIX}|g" +SUBST_MESSAGE.run= Fixing hardcoded paths. .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/SpeedyCGI/distinfo b/www/SpeedyCGI/distinfo index a54f38f8314..491be011da0 100644 --- a/www/SpeedyCGI/distinfo +++ b/www/SpeedyCGI/distinfo @@ -1,7 +1,9 @@ -$NetBSD: distinfo,v 1.3 2007/11/22 23:00:40 adrianp Exp $ +$NetBSD: distinfo,v 1.4 2008/10/20 20:41:47 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 +SHA1 (patch-ac) = ada49b40a665f28656a238b2b7566980d1736f24 +SHA1 (patch-ad) = 099ebd36ffb48da38e0af21416f427afb0ed9012 diff --git a/www/SpeedyCGI/patches/patch-ac b/www/SpeedyCGI/patches/patch-ac new file mode 100644 index 00000000000..7626bb9c361 --- /dev/null +++ b/www/SpeedyCGI/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2008/10/20 20:41:47 adrianp Exp $ + +--- src/speedy_backend_main.h.orig 2003-10-07 05:03:48.000000000 +0100 ++++ src/speedy_backend_main.h +@@ -38,7 +38,7 @@ void * efence_realloc (void *ptr, size_t + + #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 + diff --git a/www/SpeedyCGI/patches/patch-ad b/www/SpeedyCGI/patches/patch-ad new file mode 100644 index 00000000000..3709f31be07 --- /dev/null +++ b/www/SpeedyCGI/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2008/10/20 20:41:47 adrianp Exp $ + +--- src/optdefs.orig 2003-10-07 05:03:48.000000000 +0100 ++++ src/optdefs +@@ -63,7 +63,7 @@ option BackendProg + type str + letter p + context frontend +-defval $INSTALLBIN/speedy_backend ++defval @@PREFIX@@/bin/speedy_backend + desc Path to the speedy backend program. + + option TmpBase |