mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Make this port build again.
Hinted at by: Satoshi Asami <asami@freebsd.org>
This commit is contained in:
parent
8e11d8e08b
commit
d787371c38
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=11551
@ -3,7 +3,7 @@
|
||||
# Date created: April 26th 1997
|
||||
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
|
||||
#
|
||||
# $Id: Makefile,v 1.7 1997/12/04 10:54:03 asami Exp $
|
||||
# $Id: Makefile,v 1.8 1998/01/25 16:33:23 steve Exp $
|
||||
#
|
||||
|
||||
DISTNAME= mod_perl-1.07
|
||||
@ -14,6 +14,8 @@ MASTER_SITE_SUBDIR= Apache
|
||||
|
||||
MAINTAINER= jfitz@FreeBSD.ORG
|
||||
|
||||
BUILD_DEPENDS= /nonexistent:${PORTSDIR}/www/apache12:patch
|
||||
|
||||
USE_PERL5= YES
|
||||
CONFIGURE_ENV= PORTSDIR=${PORTSDIR} INSTALL_PROGRAM="${INSTALL_PROGRAM}"
|
||||
MAN3= Apache.3 Apache::Constants.3 Apache::Options.3 \
|
||||
@ -24,9 +26,6 @@ MAN3= Apache.3 Apache::Constants.3 Apache::Options.3 \
|
||||
mod_perl_tuning.3
|
||||
MANPREFIX= ${PREFIX}/lib/perl5
|
||||
|
||||
pre-configure:
|
||||
@ cd ${PORTSDIR}/www/apache && ${MAKE} clean patch
|
||||
|
||||
do-configure:
|
||||
@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${CONFIGURE_ENV} ${PREFIX}/bin/perl Makefile.PL
|
||||
|
||||
|
@ -13,10 +13,10 @@
|
||||
-$APACHE_SRC_DEFAULT = $@ ?
|
||||
- '../apache_x.x/src' :
|
||||
- $Apache::MyConfig::Setup{Apache_Src} ;
|
||||
+opendir( WRKDIR, "$ENV{PORTSDIR}/www/apache/work" ) || die( "Can't open $ENV{PORTSDIR}/www/apache/work: $!\n" );
|
||||
+opendir( WRKDIR, "$ENV{PORTSDIR}/www/apache12/work" ) || die( "Can't open $ENV{PORTSDIR}/www/apache/work: $!\n" );
|
||||
+( $srcdir ) = grep( /^apache/, readdir( WRKDIR ) );
|
||||
+closedir( WRKDIR );
|
||||
+$APACHE_SRC_DEFAULT = "$ENV{PORTSDIR}/www/apache/work/" . $srcdir . "/src";
|
||||
+$APACHE_SRC_DEFAULT = "$ENV{PORTSDIR}/www/apache12/work/" . $srcdir . "/src";
|
||||
|
||||
my $PWD = cwd;
|
||||
my %SSL = (
|
||||
|
Loading…
Reference in New Issue
Block a user