Subject: Overriding pkgsrc-supported version of a package with a newer one
To: None <tech-pkg@NetBSD.org>
From: Eric Boutilier <Eric.Boutilier@Sun.COM>
List: tech-pkg
Date: 03/04/2005 12:58:47
I'd like to override the current version of a package provided
in pkgsrc (in favor of a development version) and would like to
know if I'm going about it the right way.

I'm eager to get PHP built on my Solaris 10 system so I can build
stuff that depends on it, but the current php5 release has a bug
causing builds to fail on Solaris and other systems.  (it's related
to this error: strtod.c:243: error: parse error before "u_int32_t")

So I downloaded a snapshot source tarball from snaps.php.net and
built it successfully by modifying Makefile.common (to recognize
the distfile) and emptying the patches directory. But I just
discovered I'm not home-free yet because anything that requires
PHP needs to be configured to know about my override.

Am I going about this the wrong way? (I already realize that
bypassing the patches could get me in trouble...)

Or better yet, does anybody know how soon PHP will update their
production release so the fix can propogate to pkgsrc?

Eric