pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gdm: Fix PLIST var
Module Name: pkgsrc-wip
Committed By: Dan Cîrnaț <dan%alt.md@localhost>
Pushed By: cirnatdan
Date: Fri Apr 16 12:24:31 2021 +0200
Changeset: 42610a9bcc8ff6cb9b567186b6bfde15f451a1a0
Modified Files:
gdm/options.mk
Log Message:
gdm: Fix PLIST var
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=42610a9bcc8ff6cb9b567186b6bfde15f451a1a0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gdm/options.mk | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diffs:
diff --git a/gdm/options.mk b/gdm/options.mk
index acc95a2bf9..4318e571db 100644
--- a/gdm/options.mk
+++ b/gdm/options.mk
@@ -1,3 +1,5 @@
+# $NetBSD$
+
PKG_OPTIONS_VAR= PKG_OPTIONS.gdm
PKG_SUPPORTED_OPTIONS= gdm-login
.include "../../mk/bsd.prefs.mk"
@@ -6,11 +8,14 @@ PKG_SUPPORTED_OPTIONS= gdm-login
# Package-specific option-handling
+PLIST_VARS+= gnome-login
+
###
### gdm-login
### enables the daemon and gui greeter (experimental)
###
.if !empty(PKG_OPTIONS:Mgdm-login)
+BUILD_DEFS+= PKG_SYSCONFBASE VARBASE
OWN_DIRS= ${PKG_SYSCONFDIR}/Init
OWN_DIRS+= ${PKG_SYSCONFDIR}/PostLogin
@@ -41,12 +46,12 @@ post-install:
${INSTALL_DATA} ${FILESDIR}/gdm-* ${DESTDIR}/${PREFIX}/share/examples/pam.d
${CHMOD} +x ${DESTDIR}${PREFIX}/share/examples/gdm/Xsession
-PLIST_VARS+= gdm-login
+PLIST.gdm-login= yes
.else
# only install libgdm, without the daemon and login screen
-INSTALLATION_DIRS+= include/gdm
-INSTALLATION_DIRS+= lib/girepository-1.0
-INSTALLATION_DIRS+= lib/
+INSTALLATION_DIRS+= include/gdm
+INSTALLATION_DIRS+= lib/girepository-1.0
+INSTALLATION_DIRS+= lib/
INSTALLATION_DIRS+= lib/pkgconfig
INSTALLATION_DIRS+= share/gir-1.0 share/glib-2.0/schemas
@@ -80,4 +85,4 @@ do-install:
${DESTDIR}${PREFIX}/share/glib-2.0/schemas
BUILDLINK_DEPMETHOD.openpam= build
-.endif
\ No newline at end of file
+.endif
Home |
Main Index |
Thread Index |
Old Index