Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2001 22:14:30 -0800 (PST)
From:      Hye-Shik Chang <perky@fallin.lv>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/32638: Fix port: www/apache2
Message-ID:  <200112090614.fB96EUw97167@freefall.freebsd.org>

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

>Number:         32638
>Category:       ports
>Synopsis:       Fix port: www/apache2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 08 22:20:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Hye-Shik Chang
>Release:        FreeBSD 4.4
>Organization:
Yonsei University
>Environment:
FreeBSD perky.dnip.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Fri Nov 16 15:54:51 KST 2001     root@perky.dnip.net:/usr/src/sys/compile/PERKY  i386
>Description:
Fix invalid path problem on building extension module with apxs.
>How-To-Repeat:

>Fix:
diff -ruN apache2.orig/Makefile apache2/Makefile
--- apache2.orig/Makefile	Sat Dec  8 08:12:32 2001
+++ apache2/Makefile	Sun Dec  9 14:48:50 2001
@@ -7,7 +7,7 @@
 
 PORTNAME=	apache
 PORTVERSION=	2.0.28
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	www ipv6
 MASTER_SITES=	http://www.apache.org/dist/httpd/ \
 		http://apache.mirrorcentral.com/dist/httpd/ \
diff -ruN apache2.orig/files/patch-support:apxs.in apache2/files/patch-support:apxs.in
--- apache2.orig/files/patch-support:apxs.in	Tue Nov 20 07:47:47 2001
+++ apache2/files/patch-support:apxs.in	Sun Dec  9 14:48:29 2001
@@ -1,5 +1,5 @@
 --- support/apxs.in.orig	Sat Nov  3 05:09:20 2001
-+++ support/apxs.in	Sat Nov 17 02:51:43 2001
++++ support/apxs.in	Sun Dec  9 14:47:57 2001
 @@ -66,7 +66,7 @@
  
  # read the configuration variables once
@@ -17,4 +17,31 @@
 +my $httpd = get_vars("sbindir") . "/" . get_vars("progname");
  $httpd = eval qq("$httpd");
  $httpd = eval qq("$httpd");
+ 
+@@ -412,7 +412,7 @@
+         $la =~ s|\.c$|.la|;
+         my $o = $s;
+         $o =~ s|\.c$|.o|;
+-        push(@cmds, "$prefix/build/libtool --silent --mode=compile $CFG_CC $cflags -I$CFG_INCLUDEDIR $opt -c -o $lo $s && touch $slo");
++        push(@cmds, "$prefix/share/mk/apache/libtool --silent --mode=compile $CFG_CC $cflags -I$CFG_INCLUDEDIR $opt -c -o $lo $s && touch $slo");
+         unshift(@objs, $lo);
+     }
+ 
+@@ -437,7 +437,7 @@
+         $opt .= " -l$opt_l";
+     }
+ 
+-    push(@cmds, "$prefix/build/libtool --silent --mode=link $CFG_CC -o $dso_file -rpath $CFG_LIBEXECDIR -module -avoid-version $opt $lo");
++    push(@cmds, "$prefix/share/mk/apache/libtool --silent --mode=link $CFG_CC -o $dso_file -rpath $CFG_LIBEXECDIR -module -avoid-version $opt $lo");
+ 
+     #   execute the commands
+     &execute_cmds(@cmds);
+@@ -467,7 +467,7 @@
+         my $t = $f;
+         $t =~ s|^.+/([^/]+)$|$1|;
+         if ($opt_i) {
+-	    push(@cmds, "$prefix/build/libtool --mode=install cp $f $CFG_LIBEXECDIR/$t");
++	    push(@cmds, "$prefix/share/mk/apache/libtool --mode=install cp $f $CFG_LIBEXECDIR/$t");
+ 	    push(@cmds, "chmod 755 $CFG_LIBEXECDIR/$t");
+         }
  

>Release-Note:
>Audit-Trail:
>Unformatted:

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




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