pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/46709: pkgsrc-2012Q2 www/ap-php uses wrong PKG_OPTIONS variable
The following reply was made to PR pkg/46709; it has been noted by GNATS.
From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/46709: pkgsrc-2012Q2 www/ap-php uses wrong PKG_OPTIONS
variable
Date: Thu, 19 Jul 2012 21:01:34 +0900
On Tue, 17 Jul 2012 01:05:01 +0900,
<Wolfgang.Stukenbrock%nagler-company.com@localhost> wrote:
>> How-To-Repeat:
> Try to compile www/ap-php with PKG_OPTIONS.ap22-php53 set, it will
> report that it is
> not set. When useing PKG_OPTIONS.-php53 instead, the make prints that
> PKG_OPTIONS.ap22-php53
> has been set and uses the defintions.
It is because at the time PKG_OPTIONS is processed, ${APACHE_PKG_PREFIX} is
not set yet.
>> Fix:
> not know - I thing there is a bug in the *.mk files of pkgsrc
> workaround: use PKG_OPTIONS.-php53
Please try to move
.include "../../mk/apache.mk"
before
.include "${PHPPKGSRCDIR}/Makefile.php"
But I don't believe that any PHP and Apache variant combinations require
individual PKG_OPTIONS_VAR.
--
OBATA Akio / obache%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index