Bug 133850 - devel/p5-Log-Dispatch install dependencies
Summary: devel/p5-Log-Dispatch install dependencies
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-perl (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-19 10:30 UTC by Octavian
Modified: 2009-11-05 15:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Octavian 2009-04-19 10:30:01 UTC
hi,

i have needed to install p5-Log-Dispatch with apache22 and it was looking dependencies wrong.

it was looking for ${LOCALBASE}/libexec/apache2/mod_perl.so instead of 
${LOCALBASE}/libexec/apache22/mod_perl.so

Fix: i have introduced a new variable with the apache2 version



.if defined(WITH_APACHELOG)
 .if defined(WITH_APACHE2)
-RUN_DEPENDS+=  ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2
+.if defined(APACHE2_VERSION)
+RUN_DEPENDS+=   ${LOCALBASE}/libexec/apache${APACHE2_VERSION}/mod_perl.so:${PORTSDIR}/www/mod_perl2
+.else
+RUN_DEPENDS+=   ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2
+.endif
 .else
 RUN_DEPENDS+=  ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
 .endif--KtIvDG251n3XG9Qf2H5sNCsEn4eSxVLURrqf3bnPorlRIgG7
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.orig       2009-04-17 11:03:42.000000000 +0300
+++ Makefile    2009-04-17 11:02:28.000000000 +0300
@@ -54,7 +54,11 @@
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-04-19 16:06:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mat

Fix synopsis and assign.
Comment 2 Octavian 2009-04-21 08:10:25 UTC

   after i have searched on porters handbook i have found that there  
is another variable wich can help it and wich is used in many ports  
for dependencies:

   --- Makefile.orig       2009-04-17 11:03:42.000000000 +0300
+++ Makefile    2009-04-21 10:04:57.000000000 +0300
@@ -54,7 +54,8 @@

 .if defined(WITH_APACHELOG)
 .if defined(WITH_APACHE2)
-RUN_DEPENDS+=   
${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2
+USE_APACHE=    2.0+
+RUN_DEPENDS+=    
${LOCALBASE}/${APACHEMODDIR}/mod_perl.so:${PORTSDIR}/www/mod_perl2
 .else
 RUN_DEPENDS+=   
${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
 .endif

   --
Octavian
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2009-08-16 11:06:03 UTC
Responsible Changed
From-To: mat->perl

Maintainer was reset.
Comment 4 skv freebsd_committer freebsd_triage 2009-11-05 15:30:25 UTC
State Changed
From-To: open->closed

Fixed, thanks.
Comment 5 dfilter service freebsd_committer freebsd_triage 2009-11-05 15:30:27 UTC
skv         2009-11-05 15:30:13 UTC

  FreeBSD ports repository

  Modified files:
    devel/p5-Log-Dispatch Makefile 
  Log:
  Fix dependency check clause for mod_perl2.
  
  PR:             ports/133850
  Submitted by:   Octavian <itavy xx itavy.com>
  
  Revision  Changes    Path
  1.33      +1 -1      ports/devel/p5-Log-Dispatch/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"