httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Crow Lee Contr 379 ECS <Lee.C...@auab.aorcentaf.af.mil>
Subject [users@httpd] Patching Makefile
Date Tue, 15 Jul 2003 05:02:13 GMT
Help!  I've looked everywhere and I don't know where else to turn to.  I
know this is a Unix basic, but I just can get it down.  I'm using FreeBSD
5.1 and Apache2.  I'm trying to patch the Makefile in
/usr/ports/www/p5-Apache-DBI with the patch found at:
http://www.freebsd.org/cgi/query-pr.cgi?pr=53204
<http://www.freebsd.org/cgi/query-pr.cgi?pr=53204>  Here are the contents of
the patch:
 
--- p5-Apache-DBI-mp2.diff begins here ---
diff -ruN p5-Apache-DBI.bak/Makefile p5-Apache-DBI/Makefile
--- p5-Apache-DBI.bak/Makefile  Mon Jun  9 22:43:46 2003
+++ p5-Apache-DBI/Makefile      Tue Jun 10 20:39:27 2003
@@ -15,8 +15,14 @@
 MAINTAINER=     skv@FreeBSD.org
 COMMENT= DBI persistent connection, authentication and authorization
 
-RUN_DEPENDS=
${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl \
-
${SITE_PERL}/${PERL_ARCH}/Bundle/DBI.pm:${PORTSDIR}/databases/p5-DBI
+RUN_DEPENDS=
${SITE_PERL}/${PERL_ARCH}/Bundle/DBI.pm:${PORTSDIR}/databases/p5-DBI
+
+.if defined(WITH_MODPERL2)
+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
+
 BUILD_DEPENDS=  ${RUN_DEPENDS}
 
 PERL_CONFIGURE= yes
--- p5-Apache-DBI-mp2.diff ends here ---
 
 
Can someone please explain this to me in detail?  I've read the manpages for
diff, but none of it seems too straight forward.  I'm sure this is easy but,
for some reason, I just can't get it.
 
Thanks in advance for any help!
 
Sincerely,
 
Lee

Mime
View raw message