mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Make this handle WRKDIRPREFIX correctly. Note this port is still broken
regardless.
This commit is contained in:
parent
3f913c5e94
commit
1a39868bc0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=16789
@ -3,7 +3,7 @@
|
||||
# Date created: April 26th 1997
|
||||
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
|
||||
#
|
||||
# $Id: Makefile,v 1.10 1998/09/03 13:45:47 asami Exp $
|
||||
# $Id: Makefile,v 1.11 1998/09/15 21:31:55 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= mod_perl-1.07
|
||||
@ -19,7 +19,7 @@ BUILD_DEPENDS= /nonexistent:${PORTSDIR}/www/apache12:patch
|
||||
BROKEN= perl5 upgrade
|
||||
|
||||
USE_PERL5= YES
|
||||
CONFIGURE_ENV= PORTSDIR=${PORTSDIR} INSTALL_PROGRAM="${INSTALL_PROGRAM}"
|
||||
CONFIGURE_ENV= APACHEDIR=${WRKDIRPREFIX}${.CURDIR}/../apache12/work INSTALL_PROGRAM="${INSTALL_PROGRAM}"
|
||||
MAN3= Apache.3 Apache::Constants.3 Apache::Options.3 \
|
||||
Apache::Registry.3 Apache::Status.3 Bundle::Apache.3 \
|
||||
Apache::Debug.3 mod_perl.3 Apache::SIG.3 Apache::Resource.3 \
|
||||
|
@ -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 = (
|
||||
|
Loading…
Reference in New Issue
Block a user