diff options
author | Rohan Garg <rohan@kde.org> | 2014-08-07 18:58:00 +0200 |
---|---|---|
committer | Rohan Garg <rohan@kde.org> | 2014-08-07 18:58:00 +0200 |
commit | 7a5efd9b0f421d56ce39edab6c9f5b3efbde8971 (patch) | |
tree | 9a39e302d7ee99c993c811a7948e05dc62126fbe | |
parent | 74dcdabcb28919033d3d9b4c5635caa621251687 (diff) | |
download | pkg-kde-tools-7a5efd9b0f421d56ce39edab6c9f5b3efbde8971.tar.gz |
Drop useless code from KDE Frameworks time
-rw-r--r-- | perllib/Debian/Debhelper/Buildsystem/kf5.pm | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/perllib/Debian/Debhelper/Buildsystem/kf5.pm b/perllib/Debian/Debhelper/Buildsystem/kf5.pm index 6b109b1..6aa1891 100644 --- a/perllib/Debian/Debhelper/Buildsystem/kf5.pm +++ b/perllib/Debian/Debhelper/Buildsystem/kf5.pm @@ -51,19 +51,6 @@ sub configure { my $this=shift; my @flags = $this->get_kf5_flags(); - my $kdever = `dpkg-query -f='\${Version}' -W kdelibs5-dev 2>/dev/null`; - if ($kdever) { - if (Dpkg::Version::version_compare($kdever, "4:4.4.0") < 0) { - # Skip RPATH if kdelibs5-dev is older than 4:4.4.0 - push @flags, "-DCMAKE_SKIP_RPATH:BOOL=ON"; - } elsif (Dpkg::Version::version_compare($kdever, "4:4.6.1") < 0) { - # Manually set ENABLE_LIBKDEINIT_RUNPATH:BOOL=ON if kdelibs5-dev is - # older than 4:4.6.1. Later kdelibs5-dev revisions enable this - # automatically whenever CMAKE_BUILD_TYPE is set to Debian (default) - push @flags, "-DENABLE_LIBKDEINIT_RUNPATH:BOOL=ON"; - } - } - return $this->SUPER::configure(@flags, @_); } |