Subject: Re: PHP5 broken?
To: None <tech-pkg@NetBSD.org>
From: Christopher W. Richardson <email@example.com>
Date: 05/16/2006 22:48:18
-----BEGIN PGP SIGNED MESSAGE-----
"Christopher W. Richardson" <firstname.lastname@example.org> writes:
> "Christopher W. Richardson" <email@example.com> writes:
>> "Adrian Portelli" <firstname.lastname@example.org> writes:
>>>> So, maybe we don't need to worry about treating pear separately
>>> I've updated the package to 5.1.4nb1. Please update your
>>> sources and try installing the package again.
>> Works for me.
> Alas, I spoke too soon (sort of). Building php5, natively,
> does, in fact, now work for me. But that change seems to not
> have been propagated to www/ap-php. I'll try and poke around
> through the Makefile logic later this evening if no one else
> gets to it -- but if someone else gets to it first, that'd be
> great :)
OK, no one else got to it, so, here's the problem:
cwr@ns#grep DIST_SUBDIR *
cwr@ns#make show-var VARNAME=DISTNAME
cwr@ns#make show-var VARNAME=PKGNAME
So, when building php5 as a stand-alone package, everything works
fine, but when building ap-php it gets confused by including
Makefile.common which causes it to look in php-5.1.4 when the
files are really in php-5.1.4nb1.
I'm just not sure on what the Right thing to do is -- change it
so the native package uses DISTNAME, or do something in
Makefile.common to append nb[patch] to the (calculated)
Is there an agreed standard?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
-----END PGP SIGNATURE-----