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

Re: CVS:oo-deb/debian changelog,1.349,1.350 rules,1.220,1.221



Rene Engelhard wrote:
> +	ifeq "$(PATCHSET)" "DebianWoody"
> +		# hack to remove fontconfig dependency on woody backports
> +		perl -pi -e 's/(Depends: ).*fontconfig(.*)/\1\2/' \
> +			debian/ttf-opensymbol/DEBIAN/control
> +	endif

I don't think this will do what you want.  If fontconfig is not the
first entry in the list, then this will remove all dependencies before
fontconfig.  And if fontconfig is not the last entry in the list, then
this does not remove the comma after fontconfig.  This leaves the
possibility that fontconfig is the _only_ entry in the list (so it can
be both first and last), which would leave an empty "Depends:" line.

Better to just use a substvar, which would solve these problems
automatically.

- Josh Triplett

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: