From root@cultdeadsheep.org  Tue Oct 15 11:54:50 2002
Return-Path: <root@cultdeadsheep.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CB53037B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 15 Oct 2002 11:54:50 -0700 (PDT)
Received: from cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 57A8843E4A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 15 Oct 2002 11:54:49 -0700 (PDT)
	(envelope-from root@cultdeadsheep.org)
Received: (qmail 76304 invoked by uid 0); 15 Oct 2002 18:54:47 -0000
Message-Id: <20021015185447.76303.qmail@cultdeadsheep.org>
Date: 15 Oct 2002 18:54:47 -0000
From: Clement Laforet <sheepkiller@cultdeadsheep.org>
Reply-To: Clement Laforet <sheepkiller@cultdeadsheep.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: www/apache2 : FreeBSD layout prevents some modules from building (which use special.mk an rules.mk)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         44104
>Category:       ports
>Synopsis:       www/apache2 : FreeBSD layout prevents some modules from building (which use special.mk an rules.mk)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    perky
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 15 12:00:03 PDT 2002
>Closed-Date:    Fri Nov 15 13:41:19 GMT 2002
>Last-Modified:  Fri Nov 15 13:41:19 GMT 2002
>Originator:     Clement Laforet
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
cotds
>Environment:
System: FreeBSD goofy.cultdeadsheep.org 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Jul 4 10:05:12 CEST 2002 root@goofy.cultdeadsheep.org:/usr/obj/usr/src/sys/GOOFY i386


>Description:
	I was working on mod_layout-4.0a for apache2 port, and I noticed that apache2 has wrong layout for build dir.
	special.mk calls $(top_builddir)/build/rules.mk which is really installed as $(top_builddir)/rules.mk.
	So there can be some problems with modules which need these files.
	top_builddir=${LOCALBASE}/share/apache2

>How-To-Repeat:
	Try to compile mod_layout.

>Fix:

	Maybe another workaround exists.

--- apache2.diff begins here ---
diff -Nru apache2.old/files/config.layout apache2/files/config.layout
--- apache2.old/files/config.layout	Tue Oct 15 20:22:52 2002
+++ apache2/files/config.layout	Tue Oct 15 20:25:10 2002
@@ -7,7 +7,7 @@
   mandir:        ${prefix}/man
   sysconfdir:    ${prefix}/etc/apache2
   datadir:       ${prefix}/www
-  installbuilddir: ${prefix}/share/apache2
+  installbuilddir: ${prefix}/share/apache2/build
   errordir:      ${datadir}/error
   iconsdir:      ${datadir}/icons
   htdocsdir:     ${datadir}/data
diff -Nru apache2.old/pkg-plist apache2/pkg-plist
--- apache2.old/pkg-plist	Tue Oct 15 20:22:52 2002
+++ apache2/pkg-plist	Tue Oct 15 20:21:55 2002
@@ -203,14 +203,14 @@
 sbin/logresolve
 sbin/rotatelogs
 %%SUEXEC%%sbin/suexec
-share/apache2/config_vars.mk
-share/apache2/instdso.sh
-share/apache2/library.mk
-share/apache2/libtool
-share/apache2/ltlib.mk
-share/apache2/program.mk
-share/apache2/rules.mk
-share/apache2/special.mk
+share/apache2/build/config_vars.mk
+share/apache2/build/instdso.sh
+share/apache2/build/library.mk
+share/apache2/build/libtool
+share/apache2/build/ltlib.mk
+share/apache2/build/program.mk
+share/apache2/build/rules.mk
+share/apache2/build/special.mk
 %%PORTDOCS%%share/doc/apache2/LICENSE
 %%PORTDOCS%%share/doc/apache2/bind.html.en
 %%PORTDOCS%%share/doc/apache2/bind.html.ja.jis
--- apache2.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->perky 
Responsible-Changed-By: perky 
Responsible-Changed-When: Tue Oct 15 19:15:16 GMT 2002 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44104 
State-Changed-From-To: open->closed 
State-Changed-By: perky 
State-Changed-When: Fri Nov 15 13:34:54 GMT 2002 
State-Changed-Why:  
Your workaround is committed. Thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44104 
>Unformatted:
