diff options
author | Modestas Vainius <modax@debian.org> | 2011-03-27 15:17:57 +0300 |
---|---|---|
committer | Modestas Vainius <modax@debian.org> | 2011-03-27 15:17:57 +0300 |
commit | 9ba1ed2dc3295715593e91053ea09ee6e80f57b6 (patch) | |
tree | a135540a335176059d6a6521b13674cd9bc23fdf /makefiles/1/variables.mk | |
parent | 374cae546865594ab5062c9ebc04da9a136e6224 (diff) | |
download | pkg-kde-tools-9ba1ed2dc3295715593e91053ea09ee6e80f57b6.tar.gz |
No longer set ENABLE_LIBKDEINIT_RUNPATH for kdelibs5-dev (>= 4:4.6.1).
Since kdelibs5-dev 4.6.1, ENABLE_LIBKDEINIT_RUNPATH defaults to ON whenever
CMAKE_BUILD_TYPE is Debian.
Diffstat (limited to 'makefiles/1/variables.mk')
-rw-r--r-- | makefiles/1/variables.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/makefiles/1/variables.mk b/makefiles/1/variables.mk index 58dc003..ab8f3c2 100644 --- a/makefiles/1/variables.mk +++ b/makefiles/1/variables.mk @@ -14,6 +14,13 @@ DEB_KDELIBS5_DEV_VER_OLD := $(shell dpkg --compare-versions $(DEB_KDELIBS5_DEV_V ifeq (yes,$(DEB_KDELIBS5_DEV_VER_OLD)) DEB_CMAKE_KDE4_FLAGS += -DCMAKE_SKIP_RPATH:BOOL=ON endif +# 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) +DEB_KDELIBS5_DEV_VER_OLD := $(shell dpkg --compare-versions $(DEB_KDELIBS5_DEV_VER) lt 4:4.6.1 2>/dev/null && echo yes) +ifeq (yes,$(DEB_KDELIBS5_DEV_VER_OLD)) + DEB_CMAKE_KDE4_FLAGS += -DENABLE_LIBKDEINIT_RUNPATH:BOOL=ON +endif # Set the DEB_KDE_LINK_WITH_AS_NEEDED to yes to enable linking # with --as-needed (off by default) |