Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 1999 18:34:02 -0600
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        <freebsd-ports@FreeBSD.ORG>
Cc:        <freebsd-isp@FreeBSD.ORG>
Subject:   Re: PATCH for Apache: Add FreeBSD Server Layout
Message-ID:  <009001be40e7$eaeee3a0$0dcb2e9c@westbend.net>
References:  <Pine.HPP.3.96.990114120001.7068B-100000@hp9000.chc-chimes.com> <Pine.BSF.4.02.9901150429220.23666-100000@leaf.lumiere.net> <19990115160923.A12095@net.ohio-state.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_008D_01BE40B5.9F604FA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

This attached FreeBSD Layout patch uses the directory assignments as given
from the Apache* ports.

Now as to the individual that wants to install their port into a directory
other than ${PREFIX}, if you use:

./configure --with-layout=FreeBSD --prefix=/some/other/location

Your Apache port will be installed into "/some/other/location" instead of
"/usr/local".  This can even be done when compiling the Apache* port by
setting ${PREFIX}.  The values in the config.layout files are just default
values and can be overridden with the configure directives
(i.e. --prefix, --sysconfdir, --localstatedir).

Scot H.



------=_NextPart_000_008D_01BE40B5.9F604FA0
Content-Type: application/octet-stream;
	name="patch-av"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="patch-av"

*** config.layout.orig	Mon Jan  4 23:14:49 1999=0A=
--- config.layout	Fri Jan 15 17:53:12 1999=0A=
***************=0A=
*** 60,62 ****=0A=
--- 60,83 ----=0A=
      logfiledir:    logs=0A=
      proxycachedir: proxy=0A=
  </Layout>=0A=
+ =0A=
+ #   FreeBSD Layout=0A=
+ <Layout FreeBSD>=0A=
+     prefix:        /usr/local=0A=
+     exec_prefix:   $prefix=0A=
+     bindir:        $exec_prefix/bin=0A=
+     sbindir:       $exec_prefix/sbin=0A=
+     libexecdir:    $exec_prefix/libexec/apache=0A=
+     mandir:        $exec_prefix/man=0A=
+     sysconfdir:    $prefix/etc/apache=0A=
+     datadir:       $prefix/www=0A=
+     docrootdir:    $datadir/data=0A=
+     doc_dir:       $prefix/share/doc/apache=0A=
+     iconsdir:      $datadir/icons=0A=
+     cgidir:        $datadir/cgi-bin=0A=
+     includedir:    $prefix/include/apache=0A=
+     localstatedir: /var=0A=
+     runtimedir:    $localstatedir/run=0A=
+     logfiledir:    $localstatedir/log=0A=
+     proxycachedir: $datadir/proxy=0A=
+ </Layout>=0A=

------=_NextPart_000_008D_01BE40B5.9F604FA0--


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009001be40e7$eaeee3a0$0dcb2e9c>