summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-03-22 14:18:02 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-03-22 14:18:02 +0000
commitd65c037b00c46aa7b10d1803dee20b9bbb57e36b (patch)
treeda82a32e8ce2ded995ae7ba320231491c35220ac /Mk
parent- Get rid of no longer needed KDE4_BUILDENV (diff)
Mk/bsd.kde4.mk:
- Don't set CMAKE_BUILD_TYPE for debug builds (cmake.mk already handles it) - Don't set WITH_DEBUG for unstable branch (KDE4_BRANCH) - Remove now useless KDE4_BUILDENV KDE SC ports: - Chase KDE4_BUILDENV removal: replace 'KDE4_BUILDENV= yes' with 'USES= cmake:outsource' and add USE_LDCONFIG if needed
Notes
Notes: svn path=/head/; revision=314933
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.kde4.mk31
1 files changed, 2 insertions, 29 deletions
diff --git a/Mk/bsd.kde4.mk b/Mk/bsd.kde4.mk
index f6d1a99bbbf8..8794d9b78e0a 100644
--- a/Mk/bsd.kde4.mk
+++ b/Mk/bsd.kde4.mk
@@ -102,7 +102,8 @@ NO_MTREE= yes
. endif
.endif
-PLIST_SUB+= KDE4_PREFIX="${KDE4_PREFIX}"
+PLIST_SUB+= KDE4_PREFIX="${KDE4_PREFIX}" \
+ KDE4_VERSION="${KDE4_VERSION}"
# Keep in sync with cmake/modules/PythonMacros.cmake
_PYTHON_SHORT_VER= ${PYTHON_VERSION:S/^python//:S/.//}
@@ -116,34 +117,6 @@ PLIST_SUB+= PYCACHE="" \
PYO_SUFFIX=pyo
.endif
-# The following definitions are not intended for usage in KDE4-dependent ports.
-.if defined(KDE4_BUILDENV)
-
-USE_CMAKE= yes
-CMAKE_SOURCE_PATH= ${WRKSRC}
-USE_LDCONFIG= yes
-
-. if ${KDE4_BRANCH} == "unstable"
-WITH_DEBUG= yes
-. endif
-
-. if defined(WITH_DEBUG)
-CMAKE_BUILD_TYPE= DebugFull
-. endif
-
-PLIST_SUB+= KDE4_VERSION="${KDE4_VERSION}"
-
-CONFIGURE_WRKSRC= ${CMAKE_SOURCE_PATH}/build
-BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
-INSTALL_WRKSRC?= ${BUILD_WRKSRC}
-
-post-extract: kde4-create-builddir
-
-kde4-create-builddir:
- ${MKDIR} ${BUILD_WRKSRC}
-
-.endif # defined(KDE4_BUILDENV)
-
.endif # !defined(_POSTMKINCLUDED) && !defined(Kde_Pre_Include)
.if defined(_POSTMKINCLUDED) && !defined(Kde_Post_Include)