pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43212: www/ap-php claims to use PKG_OPTIONS.ap22-php5, but though set in mk.conf, it seems to remain empty



>Number:         43212
>Category:       pkg
>Synopsis:       www/ap-php claims to use PKG_OPTIONS.ap22-php5, but though set 
>in mk.conf, it seems to remain empty
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 26 19:25:01 +0000 2010
>Originator:     Volkmar Seifert
>Release:        NetBSD 5
>Organization:
>Environment:
NetBSD unknown.nifelheim.info 5.0_RC4 NetBSD 5.0_RC4 (GENERIC) #3: Wed Apr 22 
11:23:42 CEST 2009  
build@ymir:/usr/build/src/sys/arch/i386/compile/obj.i386/GENERIC i386
>Description:
I was running nginx / php5 for quite some time, and switched back to apache 
now, using www/ap-php for php-content. At least it was my intention.

I am using pkgsrc-current with nightly updates from CVS on the above mentioned 
system.

Assuming that ap-php would use the setting defined by PKG_OPTIONS.php, I did 
not really take a look at the package. This of course lead to several problems 
with the modules, as I use maintainer-zts on lang/php5. I noticed those 
problems, and in search of a solution, I did a 

make show-options

in www/ap-php. It revealed that www/ap-php used the variable 
PKG_OPTIONS.ap22-php5, so I set that in /etc/mk.conf and recompiled. Almost 
immediately, I noticed that PKG_OPTIONS.ap22-php5 was still shown as empty, the 
parameters used were still the defaults. I tried several combinations from 
PKG_OPTIONS.ap-php to PKG_OPTIONS.ap22-php5 without success.
I then used PKG_DEFAULT_OPTIONS within the Makefile directly, which finally 
"solved" my problem.
Since this cannot be a real solution to the problem, a fix is required badly. 
>How-To-Repeat:
Simply run make show-options, after the PKG_OPTIONS.ap22-php5 has been defined 
in /etc/mk.conf 
>Fix:



Home | Main Index | Thread Index | Old Index