openbsd-ports/www/bricolage/patches/patch-bin_bric_apachectl
sturm 12ebd1daaf Initial import of bricolage 1.10.2
Bricolage is a full-featured, enterprise-class content management system.
It offers a browser-based interface for ease-of use, full-fledged
templating systems with complete programming language support for
flexibility, and many other features. It operates in an Apache/mod_perl
environment, and uses the PostgreSQL RDBMS for its repository.

WWW: http://www.bricolage.cc/
2006-11-10 17:04:37 +00:00

24 lines
807 B
Plaintext

$OpenBSD: patch-bin_bric_apachectl,v 1.1.1.1 2006/11/10 17:04:37 sturm Exp $
--- bin/bric_apachectl.orig Sun Oct 22 10:30:02 2006
+++ bin/bric_apachectl Sun Oct 22 10:32:06 2006
@@ -43,8 +43,8 @@ $|++;
use File::Spec::Functions qw(catdir);
BEGIN {
- # $BRICOLAGE_ROOT defaults to /usr/local/bricolage
- $ENV{BRICOLAGE_ROOT} ||= "/usr/local/bricolage";
+ # $BRICOLAGE_ROOT defaults to %%PREFIX%%/share/bricolage
+ $ENV{BRICOLAGE_ROOT} ||= "%%PREFIX%%/share/bricolage";
# use $BRICOLAGE_ROOT/lib if exists
my $lib = catdir($ENV{BRICOLAGE_ROOT}, "lib");
@@ -75,7 +75,7 @@ END
use Bric::Config qw(:apachectl);
# the httpd command
-my $httpd = APACHE_BIN . ' -f ' . APACHE_CONF;
+my $httpd = APACHE_BIN . ' -f ' . APACHE_CONF . ' -u ';
# the pid file
my $pid_file = PID_FILE;