diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-03-26 13:24:52 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-03-26 13:24:52 +0000 |
commit | cfa19d459a167f18a272b045449f41cf6eabee30 (patch) | |
tree | 8af24f0c6df2a0315082f0a6054875df746bb997 | |
parent | 4638af92d33ac710f5d1887cf4547b9cbac7cd45 (diff) | |
download | pkgsrc-cfa19d459a167f18a272b045449f41cf6eabee30.tar.gz |
Only enable gles files if the gles header exists.
-rw-r--r-- | x11/kde-workspace4/Makefile | 7 | ||||
-rw-r--r-- | x11/kde-workspace4/PLIST.Linux | 14 |
2 files changed, 13 insertions, 8 deletions
diff --git a/x11/kde-workspace4/Makefile b/x11/kde-workspace4/Makefile index 3d49f5c228e..4ef52329fd8 100644 --- a/x11/kde-workspace4/Makefile +++ b/x11/kde-workspace4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2014/02/12 23:18:49 tron Exp $ +# $NetBSD: Makefile,v 1.35 2014/03/26 13:24:52 jperkin Exp $ DISTNAME= kde-workspace-${_KDE_VERSION} PKGNAME= ${DISTNAME:S/-4/4-4/} @@ -67,6 +67,11 @@ PLIST.utempter= yes PLIST.noutempter= yes .endif +PLIST_VARS+= gles +.if ${OPSYS} == "Linux" && exists(/usr/include/GLES2/gl2.h) +PLIST.gles= yes +.endif + .if ${OPSYS} == "Linux" CONF_FILES+= ${PREFIX}/share/examples/kde4-dbus/org.kde.powerdevil.backlighthelper.conf \ ${PKG_SYSCONFDIR}/dbus-1/system.d/org.kde.powerdevil.backlighthelper.conf diff --git a/x11/kde-workspace4/PLIST.Linux b/x11/kde-workspace4/PLIST.Linux index a1f17c83b1c..7e162ed703a 100644 --- a/x11/kde-workspace4/PLIST.Linux +++ b/x11/kde-workspace4/PLIST.Linux @@ -1,12 +1,12 @@ -@comment $NetBSD: PLIST.Linux,v 1.2 2013/12/12 00:14:26 markd Exp $ -bin/kwin_gles +@comment $NetBSD: PLIST.Linux,v 1.3 2014/03/26 13:24:52 jperkin Exp $ +${PLIST.gles}bin/kwin_gles lib/kde4/kcm_joystick.so -lib/kde4/kwin4_effect_gles_builtins.so +${PLIST.gles}lib/kde4/kwin4_effect_gles_builtins.so lib/kde4/libexec/backlighthelper -lib/libkdeinit4_kwin_gles.so -lib/libkwinglesutils.so -lib/libkwinglesutils.so.1 -lib/libkwinglesutils.so.1.0.0 +${PLIST.gles}lib/libkdeinit4_kwin_gles.so +${PLIST.gles}lib/libkwinglesutils.so +${PLIST.gles}lib/libkwinglesutils.so.1 +${PLIST.gles}lib/libkwinglesutils.so.1.0.0 share/dbus-1/system-services/org.kde.powerdevil.backlighthelper.service share/examples/kde4-dbus/org.kde.powerdevil.backlighthelper.conf share/kde4/services/joystick.desktop |