summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/p5-FastCGI/Makefile5
-rw-r--r--www/p5-FastCGI/distinfo2
-rw-r--r--www/p5-FastCGI/files/patch-aa11
-rw-r--r--www/p5-FastCGI/files/patch-ab11
4 files changed, 15 insertions, 14 deletions
diff --git a/www/p5-FastCGI/Makefile b/www/p5-FastCGI/Makefile
index b7d0412904b3..bc1a8a7b14fb 100644
--- a/www/p5-FastCGI/Makefile
+++ b/www/p5-FastCGI/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= FastCGI
-PORTVERSION= 0.58
+PORTVERSION= 0.67
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= FCGI
@@ -16,9 +16,10 @@ DISTNAME= FCGI-${PORTVERSION}
MAINTAINER= kbyanc@posi.net
COMMENT= Modules for perl5, for enabling FastCGI support in CGI scripts
-BUILD_DEPENDS= ${LOCALBASE}/lib/libfcgi.a:${PORTSDIR}/www/fcgi
+LIB_DEPENDS= fcgi.0:${PORTSDIR}/www/fcgi
PERL_CONFIGURE= yes
+CONFIGURE_ARGS+= --use-installed=${LOCALBASE}
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= FCGI.3
diff --git a/www/p5-FastCGI/distinfo b/www/p5-FastCGI/distinfo
index 176f0ae5e940..4a20eda0bfe5 100644
--- a/www/p5-FastCGI/distinfo
+++ b/www/p5-FastCGI/distinfo
@@ -1 +1 @@
-MD5 (FCGI-0.58.tar.gz) = db5c0a5fd7c24469b52ea329823b1d59
+MD5 (FCGI-0.67.tar.gz) = 2e9b5bd1f74290fd9788555e8108a3d2
diff --git a/www/p5-FastCGI/files/patch-aa b/www/p5-FastCGI/files/patch-aa
deleted file mode 100644
index 40b6b39455af..000000000000
--- a/www/p5-FastCGI/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.PL.orig Wed Oct 27 19:56:24 1999
-+++ Makefile.PL Wed Oct 27 20:01:08 1999
-@@ -25,7 +25,7 @@
- # CPAN
- for $dir ("/usr", "/usr/local") {
- if (-d "$dir/lib/" && -f "$dir/lib/libfcgi.a"
-- && -d "$dir/include" && !grep {!-f "$dir/include/$_"} (@h))
-+ && -d "$dir/include/fastcgi/" && !grep {!-f "$dir/include/fastcgi/$_"} (@h))
- {
- print "Found fcgi library and include files in $dir\n";
- print "Will be using that instead of included files\n";
diff --git a/www/p5-FastCGI/files/patch-ab b/www/p5-FastCGI/files/patch-ab
new file mode 100644
index 000000000000..7ffbde60d15f
--- /dev/null
+++ b/www/p5-FastCGI/files/patch-ab
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig Mon Jun 16 10:31:32 2003
++++ Makefile.PL Mon Jun 16 10:31:41 2003
+@@ -33,7 +33,7 @@
+ $libspec .= "-lfcgi";
+ my @l = MM->ext($libspec);
+ if ($l[0] || $l[1] || $l[2]) {
+- $prefix = "$useinstalled/include" if $useinstalled;
++ $prefix = "$useinstalled" if $useinstalled;
+ $libfound = 1;
+ push @libs, $libspec;
+ }