Comment 14 for bug 1555843

Revision history for this message
Nish Aravamudan (nacc) wrote : Re: [Bug 1555843] Re: php7.0: re-add binary packages with universe dependencies

On 11.03.2016 [18:06:10 -0000], Steve Langasek wrote:
> +ifeq ($(WITH_UNIVERSE),yes)
> +DH_OPTIONS+=$(addprefix -N,$(shell dh_listpackages | grep -v $(addprefix -e ,$(UNIVERSE_PACKAGES))))
> +else
> +DH_OPTIONS+=$(addprefix -N,$(shell dh_listpackages | grep $(addprefix -e ,$(UNIVERSE_PACKAGES))))
> +endif
>
> debhelper also supports -p options to specify which packages it works
> on, as opposed to -N to specify packages to exclude. Couldn't this be
> written more succinctly as:
>
> ifeq ($(WITH_UNIVERSE),yes)
> DH_OPTIONS+=$(addprefix -p,$(UNIVERSE_PACKAGES))
> else
> DH_OPTIONS+=$(addprefix -N,$(UNIVERSE_PACKAGES))
> endif
>
> ?

Yes, probably! Sorry, I was basing my changes off the Trusty
boost/boost-mpi split. I'll try to update to the above and provide a
debdiff.