Source: transgui
Version: 5.0.1-2

The Debian build script seems to be using upstream's Makefile,
which was "generated by FPCMake Version 2.0.0 [2011/12/25]".
It would be better to regenerate this file for two reasons:

- It becomes possible to build the package on new architectures,
  such as arm64.

- You verify that it is possible to build the package from source. If
  you don't regularly test it you can't be sure that you can generate
  the Makefile with the tools in Debian.

(The situation seems analogous to a package that does not "run
dh-autoreconf to update for new architectures".)

I think you can fix this by adding the following to debian/rules,
but you should check carefully, and perhaps there's a simpler way:

# Define FPC
ifndef FPC
FPC=/usr/bin/fpc
endif

FPCVER=$(shell ${FPC} -iV)

# Define FPCDIR if it was not set
ifndef FPCDIR
export FPCDIR=/usr/lib/fpc/${FPCVER}
endif

override_dh_auto_configure:
        fpcmake

Reply via email to