ports/103813: www/p5-Apache-DBI: fix package dependenies when WITH_MODPERL2 and WITH_APACHE2 are defined
Philip M. Gollucci
pgollucci at p6m7g8.com
Tue Dec 19 04:00:49 UTC 2006
The following reply was made to PR ports/103813; it has been noted by GNATS.
From: "Philip M. Gollucci" <pgollucci at p6m7g8.com>
To: bug-followup at FreeBSD.org, swhetzel at gmail.com
Cc:
Subject: Re: ports/103813: www/p5-Apache-DBI: fix package dependenies when
WITH_MODPERL2 and WITH_APACHE2 are defined
Date: Mon, 18 Dec 2006 19:52:04 -0800
This is a multi-part message in MIME format.
--------------080705040204030003000707
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Sorry, wrong attachment I made the same goof Scott did.
s/1.3+/yes/
--
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci at p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF
I never had a dream come true
'Til the day that I found you.
Even though I pretend that I've moved on
You'll always be my baby.
I never found the words to say
You're the one I think about each day
And I know no matter where life takes me to
A part of me will always be...
A part of me will always be with you.
--------------080705040204030003000707
Content-Type: text/plain;
name="p5-Apache-DBI.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="p5-Apache-DBI.diff"
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/p5-Apache-DBI/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- Makefile 3 Dec 2006 23:21:47 -0000 1.23
+++ Makefile 19 Dec 2006 03:51:25 -0000
@@ -18,16 +18,18 @@
MAN3= Apache::DBI.3 Apache::AuthDBI.3
PERL_CONFIGURE= yes
-USE_APACHE= yes
-
-.include <bsd.port.pre.mk>
.if defined(WITH_MODPERL2)
+USE_APACHE= 2.0+
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
+BUILD_DEPENDS+= ${RUN_DEPENDS}
.else
+USE_APACHE= yes
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
+BUILD_DEPENDS+= ${RUN_DEPENDS}
.endif
-BUILD_DEPENDS= ${RUN_DEPENDS}
+
+.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
--------------080705040204030003000707--
More information about the freebsd-ports-bugs
mailing list