diff options
Diffstat (limited to 'www/p5-Apache/files/patch-aa')
-rw-r--r-- | www/p5-Apache/files/patch-aa | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/p5-Apache/files/patch-aa b/www/p5-Apache/files/patch-aa index b88da40d2e00..964d721a841d 100644 --- a/www/p5-Apache/files/patch-aa +++ b/www/p5-Apache/files/patch-aa @@ -13,10 +13,10 @@ -$APACHE_SRC_DEFAULT = $@ ? - '../apache_x.x/src' : - $Apache::MyConfig::Setup{Apache_Src} ; -+opendir( WRKDIR, "$ENV{PORTSDIR}/www/apache12/work" ) || die( "Can't open $ENV{PORTSDIR}/www/apache/work: $!\n" ); ++opendir( WRKDIR, "$ENV{APACHEDIR}" ) || die( "Can't open $ENV{APACHEDIR}: $!\n" ); +( $srcdir ) = grep( /^apache/, readdir( WRKDIR ) ); +closedir( WRKDIR ); -+$APACHE_SRC_DEFAULT = "$ENV{PORTSDIR}/www/apache12/work/" . $srcdir . "/src"; ++$APACHE_SRC_DEFAULT = "$ENV{APACHEDIR}" . $srcdir . "/src"; my $PWD = cwd; my %SSL = ( |