diff options
-rw-r--r-- | x11-wm/xfce4/Makefile | 8 | ||||
-rw-r--r-- | x11-wm/xfce4/pkg-plist | 4 |
2 files changed, 4 insertions, 8 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) diff --git a/x11-wm/xfce4/pkg-plist b/x11-wm/xfce4/pkg-plist deleted file mode 100644 index d8ef9ae74228..000000000000 --- a/x11-wm/xfce4/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -%%GDM%%@unexec rm -f %%LOCAL1BASE%%/etc/dm/Sessions/XFce4.desktop -%%GDM%%@unexec rm -f %%LOCALBASE%%/etc/gdm/Sessions/XFce4 -%%GDM%%@dirrmtry %%LOCALBASE%%/etc/gdm/Sessions -%%GDM%%@dirrmtry %%LOCALBASE%%/etc/gdm |