aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Apache-DBI
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2006-06-02 17:53:28 +0800
committerskv <skv@FreeBSD.org>2006-06-02 17:53:28 +0800
commit5a342e69f1147486831c23eed42376ff567560d9 (patch)
tree7544fc8188edb8b04ea302e2585010f2a36bdf43 /www/p5-Apache-DBI
parentee338790da341eebc00334beef45c5a9afad6be7 (diff)
downloadfreebsd-ports-gnome-5a342e69f1147486831c23eed42376ff567560d9.tar.gz
freebsd-ports-gnome-5a342e69f1147486831c23eed42376ff567560d9.tar.zst
freebsd-ports-gnome-5a342e69f1147486831c23eed42376ff567560d9.zip
* fix distfiles fetching - change MASTER_SITE_SUBDIR
(note that correct distfile has different size and checksum) * simplify RUN_DEPENDS if WITH_MODPERL2 is defined PR: ports/98274 Submitted by: skv Approced by: maintainer
Diffstat (limited to 'www/p5-Apache-DBI')
-rw-r--r--www/p5-Apache-DBI/Makefile10
-rw-r--r--www/p5-Apache-DBI/distinfo6
2 files changed, 6 insertions, 10 deletions
diff --git a/www/p5-Apache-DBI/Makefile b/www/p5-Apache-DBI/Makefile
index 14f25b87279b..0168d693dcbf 100644
--- a/www/p5-Apache-DBI/Makefile
+++ b/www/p5-Apache-DBI/Makefile
@@ -7,9 +7,10 @@
PORTNAME= Apache-DBI
PORTVERSION= 1.00
+PORTREVISION= 1
CATEGORIES= www databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= Apache
+MASTER_SITE_SUBDIR= ../../authors/id/P/PG/PGOLLUCCI
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-${PORTVERSION}_01
@@ -24,12 +25,7 @@ USE_APACHE= yes
.include <bsd.port.pre.mk>
.if defined(WITH_MODPERL2)
-.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
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
.else
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
.endif
diff --git a/www/p5-Apache-DBI/distinfo b/www/p5-Apache-DBI/distinfo
index 01f8b414edbe..1c7122b6ca70 100644
--- a/www/p5-Apache-DBI/distinfo
+++ b/www/p5-Apache-DBI/distinfo
@@ -1,3 +1,3 @@
-MD5 (Apache-DBI-1.00_01.tar.gz) = 46ff52c4ac26e7dce4975240072eb561
-SHA256 (Apache-DBI-1.00_01.tar.gz) = a150a018c3b216c5a60861275ed212eb415a5404d8d7b1643e216d2d5ba92a32
-SIZE (Apache-DBI-1.00_01.tar.gz) = 32893
+MD5 (Apache-DBI-1.00_01.tar.gz) = b3fa9a39c8be5c2e88f2a50483ac424e
+SHA256 (Apache-DBI-1.00_01.tar.gz) = 4afa588acd70c2e5995f9e69a83dffd14600a50ef04f99b919928456a50076ed
+SIZE (Apache-DBI-1.00_01.tar.gz) = 32921