aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2009-08-10 11:47:36 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2009-08-10 11:47:36 +0000
commit1f8475f22f8d8bb9c6054ead276e33153e3b573a (patch)
tree1e7b22352a31c0762d4f7d0726861139ea86a514 /Mk
parent9a6142d406ab92ebb826f5a0db82728b0a705d6b (diff)
downloadports-1f8475f22f8d8bb9c6054ead276e33153e3b573a.tar.gz
ports-1f8475f22f8d8bb9c6054ead276e33153e3b573a.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.kde4.mk17
1 files changed, 9 insertions, 8 deletions
diff --git a/Mk/bsd.kde4.mk b/Mk/bsd.kde4.mk
index d71360a67e03..c30e3f5e9e6d 100644
--- a/Mk/bsd.kde4.mk
+++ b/Mk/bsd.kde4.mk
@@ -131,14 +131,15 @@ PLIST_SUB+= KDE4_VERSION="${KDE4_VERSION}" \
USE_LDCONFIG= yes
USE_CMAKE= yes
-# TODO: bsd.cmake.mk should be fixed first
-# CMAKE_SOURCE_PATH= ${WRKSRC}
-# CONFIGURE_WRKSRC?= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/build
-# BUILD_WRKSRC?= ${CONFIGURE_WRKSRC}
-# INSTALL_WRKSRC?= ${CONFIGURE_WRKSRC}
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/build
-CMAKE_SOURCE_PATH= ..
+CMAKE_SOURCE_PATH= ${WRKSRC}
+CONFIGURE_WRKSRC?= ${BUILD_WRKSRC}
+BUILD_WRKSRC?= ${WRKSRC}/build
+INSTALL_WRKSRC?= ${BUILD_WRKSRC}
+
+post-extract: kde-create-builddir
+
+kde-create-builddir:
+ ${MKDIR} ${BUILD_WRKSRC}
.endif # KDE4_BUILDENV