Bug#537608: complains about missing-build-dependency-for-dh_-command although said command not used
Package: lintian
Version: 2.2.13
Severity: important
[ this time important, because of the upcoming "rejection on lintian errors"
thing. ]
$ lintian -o openoffice.org_3.1.1~ooo310m15-1.dsc
[...]
E: openoffice.org source: missing-build-dependency-for-dh_-command dh_pysupport=python-support
No.
[...]
USE_PYCENTRAL=y
USE_PYSUPPORT=n
[...]
ifeq "$(BUILD_PYUNO)" "y"
ifeq "$(USE_PYCENTRAL)" "y"
BUILD_DEPS += , python-central (>= 0.5)
endif
ifeq "$(USE_PYSUPPORT)" "y"
ifeq "$(PYMAJOR).$(PYMINOR)" "2.6"
BUILD_DEPS += , python-support (>= 0.90.4)
else
BUILD_DEPS += , python-support
endif
endif
DBG_DBG_SUGGESTS+= , python-dbg
BUILD_DEPS += , $(PYTHON)-dev
CONFIGURE_FLAGS += PYTHON=$(PYTHON)
else
BUILD_DEPS += , python
endif
[...]
ifeq "$(USE_PYCENTRAL)" "y"
dh_pycentral -ppython-uno
else
ifeq "$(USE_PYSUPPORT)" "y"
dh_pysupport -ppython-uno -V $(PYMAJOR).$(PYMINOR)
else
dh_python
endif
endif
-> when I used pysupport USE_PYSUPPORT would be y at which time it
a) actually would be used
b) had the build-depends added.
Regards,
Rene
Reply to: