Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Apr 2001 20:59:37 +0900 (KST)
From:      Hye-Shik Chang <rasperky@dreamwiz.com>
To:        mdharnois@home.com
Cc:        will@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: ports/www/apache2 Makefile distinfo pkg-comment pkg-plist ports/www/apache2/files patch-Makefile.in patch-build:rules.mk patch-config.layout patch-configure patch-docs:conf:httpd-std.conf patch-include:httpd.h patch-srclib:apr-util:Makefile.in ...
Message-ID:  <200104141159.f3EBxbg40166@mail24.dreamwiz.com>

next in thread | raw e-mail | index | archive | help
Hi~

 I patched both of apache2 and mod_php4 port.
 but It doesn't work... :(
 unfortunately ap_bucket was disappeared from apache2
 since new-httpd's cvs moved from apache-2.0 to httpd-2.0
 ( http://www.apache.org/websrc/cvsweb.cgi/apache-2.0/ and
     http://www.apache.org/websrc/cvsweb.cgi/httpd-2.0/ )
 
 Hmm... shall we wait for new php4 support for apache? :S


Here are two patches for ports/www/apache2 and ports/www/mod_php4

--- apache2/files/patch-configure.orig	Sat Apr 14 18:23:08 2001
+++ apache2/files/patch-configure	Sat Apr 14 18:25:46 2001
@@ -1,5 +1,5 @@
 --- configure.orig	Wed Apr  4 12:45:36 2001
-+++ configure	Sun Apr  8 03:25:31 2001
++++ configure	Sat Apr 14 18:25:08 2001
 @@ -3760,7 +3760,9 @@
        -e "s/[ 	]*$/'/g" \
        $srcdir/config.layout > $pldconf
@@ -10,6 +10,24 @@
    rm $pldconf
    for var in prefix exec_prefix bindir sbindir libexecdir mandir \
               sysconfdir datadir iconsdir htdocsdir cgidir includedir \
+@@ -3777,7 +3779,7 @@
+         ;;
+     esac
+     val=`echo $val | sed -e 's:\(.\)/*$:\1:'`
+-    val=`echo $val | sed -e 's:$\([a-z_]*\):$(\1):g'`
++    val=`echo $val | sed -e 's:$\([a-z_]*\):${\1}:g'`
+     if test "$autosuffix" = "yes"; then
+       if echo $val | grep apache >/dev/null; then
+         addtarget=no
+@@ -3788,7 +3790,7 @@
+         val="$val/apache"
+       fi
+     fi
+-    eval "$var='$val'"
++    eval "$var=\"$val\""
+   done
+   
+ 
 @@ -9678,6 +9680,10 @@

diff -ruN mod_php4/Makefile.orig mod_php4/Makefile
--- mod_php4/Makefile.orig	Tue Mar 20 08:54:48 2001
+++ mod_php4/Makefile	Sat Apr 14 20:04:05 2001
@@ -35,7 +35,8 @@
 .if defined(STANDALONE)
 CONFIGURE_ARGS=	--with-config-file-path=${PREFIX}/etc/php.standalone
 .else
-CONFIGURE_ARGS=	--with-apxs=${PREFIX}/sbin/apxs \
+APXSVER_ARGNAM=	`${LOCALBASE}/sbin/httpd -v|${AWK} -F/ '/version/ { ORS=""; if($$2~/^2/) print "2"}'`
+CONFIGURE_ARGS=	--with-apxs${APXSVER_ARGNAM}=${PREFIX}/sbin/apxs \
 		--with-config-file-path=${PREFIX}/etc
 .endif


>On Fri, 13 Apr 2001 22:53:36 -0500, Will Andrews <will@physics.purdue.edu> said:
>
>    >> which I don't believe is the right response.
>
>    > Probably not. Cheng, what's up with this? :)
>
>Another possibility is that this is another bug in the recent changes
>to perl.
>
>-- 
>Michael D. Harnois                        mdharnois@home.com
>Redeemer Lutheran Church                      Washburn, Iowa 
> If they can get you asking the wrong questions, 
> they don't have to worry about the answers.
>      -- Thomas Pynchon
>
>

----------------------------
Hye-Shik "Perky" Chang
Mechatronics, Yonsei University, Korea
Public Key: http://openlook.org/pgp.txt
PGP Fingerprint : 115C CF2F D90D 8AFE F45B 0356 21DA 398B 6474 11EA


-------------------------------------------------
DreamWiz Free Mail @ http://www.dreamwiz.com/
DreamSearch Click the world!!! http://search.dreamwiz.com/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104141159.f3EBxbg40166>