Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2006 02:42:43 -0700
From:      steve@Watt.COM (Steve Watt)
To:        apache@freebsd.org
Subject:   Fwd: p5-Apache-DBI 'make package' dependency strangeness
Message-ID:  <200609270942.k8R9ghoq011769@wattres.watt.com>

next in thread | raw e-mail | index | archive | help
A few hours ago, I tripped across a strange problem trying to build a
package for p5-Apache-DBI on a 6-STABLE box when I have Apache 2.2 and
mod_perl2 installed.

I couldn't figure out the magic to get the package not to have silly
dependencies (like apache20 or apache13).

I asked over on -ports, and Philip G. pointed me at the important magic
bit, setting APACHE_PORT variable to www/apache22.

So, two questions:  From looking around in bsd.apache.mk, I would've
guessed (and did guess) that setting APACHE_VERSION to 22 should have
done the correct thing.  Instead I wound up with the make package stuck
in some kind of recursion.

My Makefile-fu is admittedly rusty, but I think that setting APACHE_PORT
to www/apache22 should be equivalent to setting APACHE_VERSION to 22.

Oh, and is there a place that one might accidentaly stumble across some
documentation for the APACHE_PORT make variable?  I certainly didn't
spot any hints before I knew the name.  Now that I know it, it's easy to
find. :P

The last message in the thread on -ports, for those who didn't see it:
 - - - 8< - - -

Date: Wed, 27 Sep 2006 00:07:49 -0700
From: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
Organization: P6M7G8 Inc.
To: Steve Watt <steve@Watt.COM>
CC: freebsd-ports@freebsd.org
Subject: Re: p5-Apache-DBI 'make package' dependency strangeness

Steve Watt wrote:
> Gotta love versionitis.

After I sent the e-mail it dawned on me it might be that.  Its just been
so long since I've not had it since 20 is the default and I'm an ASF
Member/mod_perl PMC I almost never use 2.0.x anymore unless someone bugs
it.

> I know there's magic that almost gets it right, because it was finding
> my apache-2.2.3 dependency before (when I didn't specify APACHE_PORT),
> but was trying to add an apache20 or apache13 dependency as well.
> 
> Speaking of APACHE_PORT...  Is it documented somewhere that that's the
> variable needed for this stuff?  It's not in the hints in 
> /usr/ports/Mk/bsd.apache.mk, and what I do see implies that
> setting APACHE_VERSION to 22 should DTRT.

Beats the hell out of me.  I forget how I figured that out -- I either
read it on ports@, html docs, or did a grep out of something in the
ports tree.

clement@

would know though.

I'll leave it to you to follow up with him, or just e-mail apache@ which he, I,  and others read.

--- End of forwarded message from "Philip M. Gollucci" <pgollucci@p6m7g8.com>


-- 
Steve Watt KD6GGD  PP-ASEL-IA          ICBM: 121W 56' 57.5" / 37N 20' 15.3"
 Internet: steve @ Watt.COM                      Whois: SW32-ARIN
   Free time?  There's no such thing.  It just comes in varying prices...



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