Subject: pkg/20293: www/php4-apc fails checksum match
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 02/11/2003 05:02:50
>Synopsis: www/php4-apc fails checksum match
>Arrival-Date: Mon Feb 10 20:58:00 PST 2003
>Originator: Soren Jacobsen
>Release: NetBSD 1.6N
System: NetBSD monstar 1.6N NetBSD 1.6N (MONSTAR) #0: Thu Feb 6 20:17:50 PST 2003 root@monstar:/usr/obj/sys/arch/i386/compile/MONSTAR i386
$MASTER_SITES is overrided by www/php4/Makefile.common, which is included by
www/php4/Makefile.module which is included by php4-apc's Makefile, causing
apc-1.1.0pl1.tar.gz to be fetched from http://php.net/somethingorother/, which
does not host it. A file (an HTML page) is downloaded and the checksum match is
attempted and fails.
make checksum in www/php4-apc.
I see two solutions.
The first (and probably safest) is to just move, in php4-apc's Makefile, the
definition of MASTER_SITES to after ../../www/php4/Makefile.module is included,
so that we override the MASTER_SITES that is set by Makefile.common.
The second, which seems more proper to me, is to change MASTER_SITES= to
MASTER_SITES?= in www/php4/Makefile.common. I suppose there is a chance that
that could break things, but it seems like a bad idea for a PHP module to be
relying on PHP to set its MASTER_SITES.