From 98be5e390cd18949316628b4465f9d08d81712f3 Mon Sep 17 00:00:00 2001 From: markd Date: Wed, 12 Dec 2007 05:14:15 +0000 Subject: Add support for kde4 (currently in wip) so that packages in wip can use "USE_DIRS+= kde4-1.0" --- mk/dirs.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mk/dirs.mk b/mk/dirs.mk index efec7d0cda2..3a56118326c 100644 --- a/mk/dirs.mk +++ b/mk/dirs.mk @@ -1,4 +1,4 @@ -# $NetBSD: dirs.mk,v 1.12 2007/08/23 09:49:18 joerg Exp $ +# $NetBSD: dirs.mk,v 1.13 2007/12/12 05:14:15 markd Exp $ # .if !defined(DIRS_MK) @@ -7,6 +7,7 @@ DIRS_MK= # defined _USE_GNOME1_DIRS= # empty _USE_GNOME2_DIRS= # empty _USE_KDE3_DIRS= # empty +_USE_KDE4_DIRS= # empty _USE_TEXMF_DIRS= # empty _USE_THEME_DIRS= # empty _USE_XDG_DIRS= # empty @@ -23,6 +24,8 @@ _USE_GNOME1_DIRS:= ${ver} _USE_GNOME2_DIRS:= ${ver} . elif ${pkg} == "kde3" && ${_USE_KDE3_DIRS} < ${ver} _USE_KDE3_DIRS:= ${ver} +. elif ${pkg} == "kde4" && ${_USE_KDE4_DIRS} < ${ver} +_USE_KDE4_DIRS:= ${ver} . elif ${pkg} == "texmf" && ${_USE_TEXMF_DIRS} < ${ver} _USE_TEXMF_DIRS:= ${ver} . elif ${pkg} == "theme" && ${_USE_THEME_DIRS} < ${ver} @@ -51,6 +54,10 @@ _USE_XDG_X11_DIRS:= ${ver} . include "../../misc/kde3-dirs/dirs.mk" .endif +.if !empty(_USE_KDE4_DIRS) +. include "../../wip/kde4-dirs/dirs.mk" +.endif + .if !empty(_USE_TEXMF_DIRS) . include "../../print/texmf-dirs/dirs.mk" .endif -- cgit v1.2.3