From 613ad07fc00aa7315dc7d1380209e4ac5a4aab61 Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Wed, 15 Nov 2006 04:34:28 +0000 Subject: [PATCH] fix Xfce4.desktop installation fix gdm autodetection Reported by: "Martin Horcicka" --- x11-wm/xfce4/Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/x11-wm/xfce4/Makefile b/x11-wm/xfce4/Makefile index 4be767e66757..9132ec8ab517 100644 --- a/x11-wm/xfce4/Makefile +++ b/x11-wm/xfce4/Makefile @@ -29,6 +29,12 @@ RUN_DEPENDS= ${LOCALBASE}/lib/xfce4/mcs-plugins/ui_plugin.so:${PORTSDIR}/sysutil xfce4-iconbox:${PORTSDIR}/misc/xfce4-iconbox \ ${LOCALBASE}/lib/gtk-2.0/${GTK2_VERSION}/engines/libxfce.so:${PORTSDIR}/x11-themes/gtk-xfce-engine +USE_GNOME= gtk20 +NO_BUILD= yes +LATEST_LINK= xfce4 + +.include + .if exists(${LOCALBASE}/sbin/gdm) WITH_GDM= yes .endif @@ -52,10 +58,6 @@ RUN_DEPENDS+= ${LOCALBASE}/lib/xfce4/panel-plugins/libmixer.so:${PORTSDIR}/audio .endif .endif -LATEST_LINK= xfce4 -NO_BUILD= yes -USE_GNOME= gtk20 - do-install: # empty post-install: @@ -63,7 +65,7 @@ post-install: @${TEST} -d ${PREFIX}/etc/gdm/Sessions || \ ${MKDIR} -p ${PREFIX}/etc/gdm/Sessions @${INSTALL_SCRIPT} ${FILESDIR}/XFce4 ${PREFIX}/etc/gdm/Sessions - @${SED} -e 's|%%PREFIX%%|${PREFIX}|' ${FILESDIR}/XFce4.desktop > ${PREFIX}/etc/dm/Sessions + @${SED} -e 's|%%PREFIX%%|${PREFIX}|' ${FILESDIR}/XFce4.desktop > ${PREFIX}/etc/dm/Sessions/XFce4.desktop .endif -.include +.include