On Wed, Mar 22, 2017 at 04:50:38AM -0700, Jose R R wrote: > First I modify debian/rules, option: --enable-fb > ------------------------------------------------------------------------------------------------------------------------------------------------- > [...] > ifeq (linux,$(DEB_HOST_ARCH_OS)) > arch_flags += --enable-fb <=## Directive is overlooked. DEB > build fails *because* it's missing > [...] > override_dh_auto_configure: > dh_auto_configure --verbose -- \ > [...] > --enable-fb \ <=## Added explicitly here, satisfies dh_install > $(arch_flags) > [...] > ------------------------------------------------------------------------------------------------------------------------------------------------
You only need this change because you're calling debian/rules directly. If you use dpkg-buildpackage then DEB_HOST_ARCH_OS will be set, and the Makefile will automatically add --enable-fb. Ross