summaryrefslogtreecommitdiffstats
path: root/x11/gdm3
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-10-20 17:11:40 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-10-20 17:11:40 +0800
commit41bc3349b08ad62958580b15b7428e6d9b759744 (patch)
tree7e713e16c550d79c0c4f866b02840a3e9637d7a5 /x11/gdm3
parent82bf69b73cfdac59f07cc8a12647aac69e0767d5 (diff)
downloadmarcuscom-ports-41bc3349b08ad62958580b15b7428e6d9b759744.tar
marcuscom-ports-41bc3349b08ad62958580b15b7428e6d9b759744.tar.gz
marcuscom-ports-41bc3349b08ad62958580b15b7428e6d9b759744.tar.bz2
marcuscom-ports-41bc3349b08ad62958580b15b7428e6d9b759744.tar.lz
marcuscom-ports-41bc3349b08ad62958580b15b7428e6d9b759744.tar.xz
marcuscom-ports-41bc3349b08ad62958580b15b7428e6d9b759744.tar.zst
marcuscom-ports-41bc3349b08ad62958580b15b7428e6d9b759744.zip
Fix the build on < 9.0. [1]
While here fix plist. Reported by: miyamoto moesasji <miyamoto.31b@gmail.com> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16501 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm3')
-rw-r--r--x11/gdm3/Makefile13
-rw-r--r--x11/gdm3/pkg-plist8
2 files changed, 18 insertions, 3 deletions
diff --git a/x11/gdm3/Makefile b/x11/gdm3/Makefile
index 17dace9c6..2fec145cb 100644
--- a/x11/gdm3/Makefile
+++ b/x11/gdm3/Makefile
@@ -3,7 +3,7 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/x11/gdm3/Makefile,v 1.13 2011/10/19 22:02:04 kwm Exp $
+# $MCom: ports/x11/gdm3/Makefile,v 1.14 2011/10/19 22:27:49 kwm Exp $
#
PORTNAME= gdm
@@ -58,7 +58,8 @@ CONFIGURE_ARGS= --with-working-directory=${PREFIX}/etc/gdm/home \
--with-at-spi-registryd-directory=${LOCALBASE}/libexec
CPPFLAGS= -I${LOCALBASE}/include -DHAS_SA_LEN
LDFLAGS= -L${LOCALBASE}/lib
-CONFIGURE_ENV= LIBS="-lm -lexecinfo" \
+CONFIGLIBS= -lm -lexecinfo
+CONFIGURE_ENV= LIBS="${CONFIGLIBS}" \
GTKDOC="false"
SUB_FILES+= gdm.pam
@@ -126,4 +127,10 @@ post-install:
@dconf update
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+# logwtmp lives here.
+.if ${OSVERSION} < 900000
+CONFIGLIBS+= -lutil
+.endif
+.include <bsd.port.post.mk>
diff --git a/x11/gdm3/pkg-plist b/x11/gdm3/pkg-plist
index 341cfe3b6..aa2b27344 100644
--- a/x11/gdm3/pkg-plist
+++ b/x11/gdm3/pkg-plist
@@ -1,6 +1,7 @@
bin/gdm-screenshot
bin/gdmflexiserver
etc/dbus-1/system.d/gdm.conf
+etc/dconf/db/gdm
etc/dconf/db/gdm.d/00-upstream-settings
etc/dconf/db/gdm.d/locks/00-upstream-settings-locks
etc/dconf/profile/gdm
@@ -244,6 +245,13 @@ share/pixmaps/nohost.png
@dirrm %%DATADIR%%/greeter/applications
@dirrm %%DATADIR%%/greeter
@dirrm %%DATADIR%%
+@dirrm lib/gdm/simple-greeter/extensions
+@dirrm lib/gdm/simple-greeter
+@dirrm lib/gdm/greeter
+@dirrm lib/gdm
+@dirrm include/gdm/simple-greeter
+@dirrm include/gdm/greeter
+@dirrm include/gdm
@dirrm etc/gdm/Sessions
@dirrm etc/gdm/PreSession
@dirrm etc/gdm/PostSession