Mon May 14 07:03:08 2012 UTC ()
Not all Linux systems have/use utempter.


(sbd)
diff -r1.2 -r1.3 pkgsrc/x11/kde-workspace4/Makefile

cvs diff -r1.2 -r1.3 pkgsrc/x11/kde-workspace4/Makefile (expand / switch to unified diff)

--- pkgsrc/x11/kde-workspace4/Makefile 2012/04/08 19:09:17 1.2
+++ pkgsrc/x11/kde-workspace4/Makefile 2012/05/14 07:03:08 1.3
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.2 2012/04/08 19:09:17 wiz Exp $ 1# $NetBSD: Makefile,v 1.3 2012/05/14 07:03:08 sbd Exp $
2 2
3DISTNAME= kde-workspace-${_KDE_VERSION} 3DISTNAME= kde-workspace-${_KDE_VERSION}
4PKGNAME= ${DISTNAME:S/-4/4-4/} 4PKGNAME= ${DISTNAME:S/-4/4-4/}
5CATEGORIES= x11 5CATEGORIES= x11
6COMMENT= Base workspace for the KDE 4 integrated X11 desktop 6COMMENT= Base workspace for the KDE 4 integrated X11 desktop
7 7
8.include "../../meta-pkgs/kde4/Makefile.kde4" 8.include "../../meta-pkgs/kde4/Makefile.kde4"
9 9
10DISTFILES= ${DEFAULT_DISTFILES} Daemon.png Daemon.README 10DISTFILES= ${DEFAULT_DISTFILES} Daemon.png Daemon.README
11DISTFILES+= NetBSD-flag-1.0.png 11DISTFILES+= NetBSD-flag-1.0.png
12SITES.Daemon.png= ${MASTER_SITE_LOCAL} 12SITES.Daemon.png= ${MASTER_SITE_LOCAL}
13SITES.Daemon.README= ${MASTER_SITE_LOCAL} 13SITES.Daemon.README= ${MASTER_SITE_LOCAL}
14SITES.NetBSD-flag-1.0.png= ${MASTER_SITE_LOCAL} 14SITES.NetBSD-flag-1.0.png= ${MASTER_SITE_LOCAL}
@@ -46,27 +46,27 @@ SPECIAL_PERMS+= ${PREFIX}/lib/kde4/libe @@ -46,27 +46,27 @@ SPECIAL_PERMS+= ${PREFIX}/lib/kde4/libe
46 ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 6555 46 ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 6555
47 47
48REPLACE_PERL+= \ 48REPLACE_PERL+= \
49 kcontrol/keys/convertShortcuts.pl \ 49 kcontrol/keys/convertShortcuts.pl \
50 kwin/data/kwin3_plugin.pl \ 50 kwin/data/kwin3_plugin.pl \
51 kwin/data/pluginlibFix.pl 51 kwin/data/pluginlibFix.pl
52 52
53PY_PATCHPLIST= yes 53PY_PATCHPLIST= yes
54 54
55.include "../../mk/bsd.prefs.mk" 55.include "../../mk/bsd.prefs.mk"
56.include "options.mk" 56.include "options.mk"
57 57
58PLIST_VARS+= utempter noutempter 58PLIST_VARS+= utempter noutempter
59.if ${OPSYS} == "Linux" 59.if ${OPSYS} == "Linux" && exists(/usr/include/utempter.h)
60PLIST.utempter= yes 60PLIST.utempter= yes
61.else 61.else
62PLIST.noutempter= yes 62PLIST.noutempter= yes
63.endif 63.endif
64 64
65SUBST_CLASSES+= paths 65SUBST_CLASSES+= paths
66SUBST_FILES.paths= kdm/kcm/main.cpp 66SUBST_FILES.paths= kdm/kcm/main.cpp
67SUBST_SED.paths= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' 67SUBST_SED.paths= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
68SUBST_STAGE.paths= post-patch 68SUBST_STAGE.paths= post-patch
69 69
70SUBST_CLASSES+= qtpath 70SUBST_CLASSES+= qtpath
71SUBST_FILES.qtpath= startkde.cmake 71SUBST_FILES.qtpath= startkde.cmake
72SUBST_VARS.qtpath= QTDIR 72SUBST_VARS.qtpath= QTDIR