Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2003 19:12:08 -0600
From:      Mike Meyer <mwm-dated-1047517929.3224f4@mired.org>
To:        John McClure <chromodromic@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Multiple Apache Ports
Message-ID:  <15977.17256.620907.868636@guru.mired.org>
In-Reply-To: <20030307210620.77842.qmail@web41410.mail.yahoo.com>
References:  <20030307210620.77842.qmail@web41410.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In <20030307210620.77842.qmail@web41410.mail.yahoo.com>, John McClure <chromodromic@yahoo.com> typed:
> When I try to install the same port again, however,
> with a different PREFIX, the pkg system complains that
> I've already got an Apache installed. Should I force
> this new install? Earlier, when I worried that this
> would overwrite information in /var/db/pkg someone
> kindly advised me not to worry about it, that it
> wouldn't do this. But how should I handle the
> exception that's showing?

I think that was me that told you that, and I had the impression you
were installing two different versions of Apache in the different
places, not just the same version in two different places. The latter
case is different, and the package database will get clobbered by
that.

I'd add a PORTREVISION to the port, setting it to 2. That will cause
the second apache package to have a different name (with an _2
appended) and avoid the problem.

	<mike
-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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




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