aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/xfce4
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2004-04-17 02:25:16 +0800
committeroliver <oliver@FreeBSD.org>2004-04-17 02:25:16 +0800
commitcb8fcd4a55a7f96ba40310317d962cec35c042d5 (patch)
tree4b59295b15ebd03873f70a437cdadd9ccbacf9b9 /x11-wm/xfce4
parent0a42cc7aa983fab3b2aebeab4484c14570b2a798 (diff)
downloadfreebsd-ports-gnome-cb8fcd4a55a7f96ba40310317d962cec35c042d5.tar.gz
freebsd-ports-gnome-cb8fcd4a55a7f96ba40310317d962cec35c042d5.tar.zst
freebsd-ports-gnome-cb8fcd4a55a7f96ba40310317d962cec35c042d5.zip
create ${X11BASE}/etc/gdm/Sessions if it doesn't exist and WITH_GDM is specified
Diffstat (limited to 'x11-wm/xfce4')
-rw-r--r--x11-wm/xfce4/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11-wm/xfce4/Makefile b/x11-wm/xfce4/Makefile
index 0b47145d8578..11ccda0481da 100644
--- a/x11-wm/xfce4/Makefile
+++ b/x11-wm/xfce4/Makefile
@@ -59,6 +59,8 @@ do-install: # empty
post-install:
.if defined(WITH_GDM)
+ @${TEST} -d ${X11BASE}/etc/gdm/Sessions || \
+ ${MKDIR} -p ${X11BASE}/etc/gdm/Sessions
@${INSTALL_SCRIPT} ${FILESDIR}/XFce4 ${X11BASE}/etc/gdm/Sessions
@${INSTALL_DATA} ${FILESDIR}/XFce4.desktop ${X11BASE}/etc/dm/Sessions
.endif