pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/meta-pkgs/kde



Module Name:    pkgsrc
Committed By:   markd
Date:           Thu Jan 12 19:40:47 UTC 2023

Modified Files:
        pkgsrc/meta-pkgs/kde: Makefile.common

Log Message:
kde: switch to cmake/build.mk


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/meta-pkgs/kde/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/meta-pkgs/kde/Makefile.common
diff -u pkgsrc/meta-pkgs/kde/Makefile.common:1.4 pkgsrc/meta-pkgs/kde/Makefile.common:1.5
--- pkgsrc/meta-pkgs/kde/Makefile.common:1.4    Thu Feb 18 00:20:11 2021
+++ pkgsrc/meta-pkgs/kde/Makefile.common        Thu Jan 12 19:40:47 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2021/02/18 00:20:11 gutteridge Exp $
+# $NetBSD: Makefile.common,v 1.5 2023/01/12 19:40:47 markd Exp $
 #
 # used by meta-pkgs/kde/applications.mk
 # used by meta-pkgs/kde/kf5.mk
@@ -8,10 +8,9 @@ MAINTAINER?=   markd%NetBSD.org@localhost
 
 BUILD_DEPENDS+= extra-cmake-modules>=5.19.0:../../devel/extra-cmake-modules
 
-USE_CMAKE=     yes
 USE_LANGUAGES= c c++
-CMAKE_ARG_PATH=        ..
-CONFIGURE_DIRS=        _KDE_build
+CMAKE_BUILD_DIR=       _KDE_build
+.include "../../devel/cmake/build.mk"
 
 CMAKE_ARGS+=   -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
 CMAKE_ARGS+=   -DKDE_INSTALL_LIBEXECDIR=libexec
@@ -20,11 +19,6 @@ CMAKE_ARGS+= -DKDE_INSTALL_SYSCONFDIR=${
 CMAKE_ARGS+=   -DKDE_INSTALL_XDG_EX_DIR=${PREFIX}/share/examples/kde-xdg
 CMAKE_ARGS+=   -DKDE_INSTALL_AUTOSTARTEXDIR=${PREFIX}/share/examples/kde-xdg/autostart
 
-pre-configure: mk-kde-dir
-
-mk-kde-dir:
-       ${MKDIR} ${WRKSRC}/_KDE_build
-
 .include "../../mk/bsd.fast.prefs.mk"
 .if ${OPSYS} == "NetBSD"
 # Work-around bad use-warning check in GNU ld 2.26



Home | Main Index | Thread Index | Old Index