diff options
author | Michele Calgaro <[email protected]> | 2022-04-26 11:49:41 +0900 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2022-05-02 22:34:28 +0200 |
commit | 9e6f7cc6edf551e435d213cd60db2238a06cb892 (patch) | |
tree | 65c98bda5f51e8edcfab3ef2dfce6267dee41a2d /smoke | |
parent | 4532e7bde91b00a579447aed47542f3994d8bcd8 (diff) | |
download | tdebindings-9e6f7cc6edf551e435d213cd60db2238a06cb892.tar.gz tdebindings-9e6f7cc6edf551e435d213cd60db2238a06cb892.zip |
Fix FTBFS when tdehw is not present. This resolves bug 2494.
Signed-off-by: Michele Calgaro <[email protected]>
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'smoke')
-rw-r--r-- | smoke/tde/generate.pl.in | 1 | ||||
-rw-r--r-- | smoke/tqt/generate.pl.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/smoke/tde/generate.pl.in b/smoke/tde/generate.pl.in index d5d8416d..2bf8112c 100644 --- a/smoke/tde/generate.pl.in +++ b/smoke/tde/generate.pl.in @@ -185,6 +185,7 @@ find( ); # Launch kalyptus +$ENV{KDE_PREFIX} = "@KDE_PREFIX@"; system "perl kalyptus @ARGV --globspace -fsmoke --name=qt $macros --no-cache --allow_k_dcop_accessors --outputdir=$outdir @headers @kdeheaders"; my $exit = $? >> 8; exit $exit if ($exit); diff --git a/smoke/tqt/generate.pl.in b/smoke/tqt/generate.pl.in index f1629222..50c3d78f 100644 --- a/smoke/tqt/generate.pl.in +++ b/smoke/tqt/generate.pl.in @@ -132,6 +132,7 @@ foreach $filename (readdir(QT)) { closedir QT; # Launch kalyptus +$ENV{KDE_PREFIX} = "@KDE_PREFIX@"; chdir "../smoke/tqt"; system "perl -I@top_srcdir@/kalyptus @top_srcdir@/kalyptus/kalyptus @ARGV --globspace -fsmoke --name=qt $macros --no-cache --outputdir=$outdir @headers"; my $exit = $? >> 8; |