pkgsrc-Users archive

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

Re: Prefixing PHP packages with ${PHP_PKG_PREFIX}


In message <>
	on Tue, 01 Sep 2015 08:47:48 -0400,
	Greg Troxel <> wrote:
> Filip Hajny <> writes:
>> For things like roundcube and magento, i.e. software that doesn’t
>> built against a particular version really and is generally happy to
>> just use one, I’d love to see dependencies defined in the
>> {php54,php55,php56}-dom-[0-9]* kind of pattern. We lack a binary
>> package world alternative to PHP_VERSION_DEFAULT (or a dependency
>> evaluation logic) for this to work though - one that would first look
>> at an existing PHP base package, then consider a preferred version
>> based on ENV, then fall back to the latest available, then go back to
>> direct dependencies required and evaluate.
>> Do you feel this is something worth working on?
> I'm not quite sure which of two things you are proposing:

>   given a package with a set of acceptable php versions, and a system
>   with a default and an installed set, pick a version that's within the
>   overlap and then build a package which is hard-coded to that version
We sould also think of handling of shbang path in scripts unless
pkg_alternatives is mandated.

>   build a package that can depend/work at runtime with any of several
>   versions
I have no idea about binary packages...

Takahiro Kambe <>

Home | Main Index | Thread Index | Old Index