ports/91526: [PATCH] Fix www/p5-Apache-DBI so that it works with www/apache22
Paul Dlug
paul at aps.org
Mon Jan 9 02:20:10 UTC 2006
The following reply was made to PR ports/91526; it has been noted by GNATS.
From: Paul Dlug <paul at aps.org>
To: bug-followup at FreeBSD.org, Paul Dlug <paul at aps.org>
Cc:
Subject: Re: ports/91526: [PATCH] Fix www/p5-Apache-DBI so that it works with www/apache22
Date: Sun, 8 Jan 2006 21:10:36 -0500
--Apple-Mail-4--448353254
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
Sorry about that, not sure how I left that off. The diff is attached.
It includes the modification of the MASTER_SITES as well as an
upgrade to 0.9901 (0.98 is not available on CPAN so the upgrade was
necessary to modify MASTER_SITES as well as to provide the new,
improved version).
--Apple-Mail-4--448353254
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
x-unix-mode=0644;
name="apache_dbi.diff"
Content-Disposition: attachment;
filename=apache_dbi.diff
diff -ruN --exclude=CVS /usr/ports/www/p5-Apache-DBI/Makefile /usr/home/paul/myports/www/p5-Apache-DBI/Makefile
--- /usr/ports/www/p5-Apache-DBI/Makefile Wed Jan 4 04:18:05 2006
+++ /usr/home/paul/myports/www/p5-Apache-DBI/Makefile Sun Jan 8 21:06:56 2006
@@ -6,26 +6,34 @@
#
PORTNAME= Apache-DBI
-PORTVERSION= 0.98
+PORTVERSION= 0.9901
CATEGORIES= www databases perl5
-MASTER_SITES= http://people.apache.org/~pgollucci/CPAN/Apache-DBI/
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Apache
+
PKGNAMEPREFIX= p5-
MAINTAINER= pgollucci at p6m7g8.com
COMMENT= DBI persistent connection, authentication and authorization
+MAN3= Apache::DBI.3 Apache::AuthDBI.3
+
+PERL_CONFIGURE= yes
+USE_APACHE= yes
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_MODPERL2)
-RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2
+.if exists(${APXS})
+APACHE_MODULE_DIR!=${APXS} -q LIBEXECDIR
+.else
+APACHE_MODULE_DIR?=${PREFIX}/libexec/apache2
+.endif
+RUN_DEPENDS+= ${APACHE_MODULE_DIR}/mod_perl.so:${PORTSDIR}/www/mod_perl2
.else
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
.endif
BUILD_DEPENDS= ${RUN_DEPENDS}
-
-PERL_CONFIGURE= yes
-
-MAN3= Apache::DBI.3 Apache::AuthDBI.3
-
-.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
diff -ruN --exclude=CVS /usr/ports/www/p5-Apache-DBI/distinfo /usr/home/paul/myports/www/p5-Apache-DBI/distinfo
--- /usr/ports/www/p5-Apache-DBI/distinfo Wed Jan 4 04:18:05 2006
+++ /usr/home/paul/myports/www/p5-Apache-DBI/distinfo Sun Jan 8 21:08:33 2006
@@ -1,2 +1,3 @@
-MD5 (Apache-DBI-0.98.tar.gz) = 2b351ba7bafc2d5add23f1e76f99b90c
-SIZE (Apache-DBI-0.98.tar.gz) = 30642
+MD5 (Apache-DBI-0.9901.tar.gz) = 3651690e9d25b6634b9e5f554afa7f5e
+SHA256 (Apache-DBI-0.9901.tar.gz) = db4aa7d8a8b0ef2d996c4f827129becdb3464939667d199f24199aec308da311
+SIZE (Apache-DBI-0.9901.tar.gz) = 31786
--Apple-Mail-4--448353254--
More information about the freebsd-ports-bugs
mailing list