summaryrefslogtreecommitdiff
path: root/x11-wm/xfce4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/xfce4/Makefile')
-rw-r--r--x11-wm/xfce4/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11-wm/xfce4/Makefile b/x11-wm/xfce4/Makefile
index 5dc04035a117..9a780ecc6813 100644
--- a/x11-wm/xfce4/Makefile
+++ b/x11-wm/xfce4/Makefile
@@ -41,11 +41,11 @@ LATEST_LINK= xfce4
WITH_GDM= yes
.endif
-.if !defined(WITH_GDM)
-PLIST_SUB+= GDM="@comment "
-.else
+.if defined(WITH_GDM)
RUN_DEPENDS+= ${LOCALBASE}/sbin/gdm:${PORTSDIR}/x11/gdm
-PLIST_SUB+= GDM=""
+PLIST_FILES= etc/gdm/Sessions/XFce4 \
+ etc/dm/Sessions/XFce4.desktop
+PLIST_DIRS= etc/gdm/Sessions
.endif
.if !defined(WITHOUT_ICONS)