Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
When cross building, run Build.PL and Build with host arch Config.pm
(provided by the perl-xs-dev package since perl/5.30.0-7) first on @INC.
We need to set PERL5LIB because Module::Build forks a child process
to sanity check the Config it's seeing, so the modified search
path has to be propagated via the environment.
|
|
When cross building, run Makefile.PL with host arch Config.pm (provided
by the perl-xs-dev package since perl/5.30.0-7) first on @INC.
This is an initial implementation that seems to work for a majority of
simple XS module packages. It's possible that it will need tuning in
the future to accommodate more complex packages.
In particular:
- setting PERL5LIB instead of adding the -I option might be needed
to propagate the modified search path to child processes of Makefile.PL
- the 'make' phase may need modifications to the search path as well
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
target build system
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
This reverts commit dbdc8f0188b26734031c00c8fb227208841dd531.
At least one package uses V in a different way than a simple
boolean-ish variable, and thus causes a build failure. As pointed out
on the bug report, there is no sane way to predict what variables
makefiles are going to use, and it might cause hidden issues and
mis-builds rather than simple build failures.
Closes: Debian#914419
Signed-off-by: Luca Boccassi <bluca@debian.org>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Allows a terse build to be quieter, and defaults to a verbose build
as indicated by Debian Policy 4.2.0 (section 4.9).
Signed-off-by: Luca Boccassi <bluca@debian.org>
|
|
The former calls /bin/pwd, while the latter uses the getcwd syscall
directly. This eliminates some forks and execs from every build.
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
* Also fix using of the QUIET internal setting in autoconf and cmake
build systems.
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
This allows params in debian/rules of the form "-D FOO=BAR" instead of
only "-DFOO=BAR" (without quotes). cmake permits both forms, but
mishandles the directory if any of the params contain a space between
the -D and the var/value. If the directory is last, it always works.
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Several of the build systems consists of a configure step that
generates a buildscript for another build tool. Notable examples
being "cmake" and "meson", which even supports multiple backend tools.
This change makes it natively possible for debhelper to support such
build systems with multiple backends.
Note that only build systems with multiple backends have been
rewritten.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Now output of ‘qmake -query’ with and without using this file is
identical. This makes cross-building Qt’s own modules possible.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
To make sure qmake calls the right compiler to get library paths.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|