pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/mate-screensaver mate-screensaver: Make the non-pa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f4e8a59cb2b4
branches:  trunk
changeset: 309898:f4e8a59cb2b4
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Jun 26 08:58:49 2018 +0000

description:
mate-screensaver: Make the non-pam build actually work.

Bump PKGREVISION.

diffstat:

 x11/mate-screensaver/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 497f34cf9784 -r f4e8a59cb2b4 x11/mate-screensaver/Makefile
--- a/x11/mate-screensaver/Makefile     Tue Jun 26 04:23:28 2018 +0000
+++ b/x11/mate-screensaver/Makefile     Tue Jun 26 08:58:49 2018 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2018/06/01 14:28:28 youri Exp $
+# $NetBSD: Makefile,v 1.13 2018/06/26 08:58:49 jperkin Exp $
 
 .include "../../meta-pkgs/mate/Makefile.common"
 
+PKGREVISION=   1
 DISTNAME=      mate-screensaver-${VERSION}
 CATEGORIES=    x11
 
@@ -27,7 +28,10 @@
 
 PLIST_VARS+=           pam
 
-.if ${OPSYS} != "Darwin" && ${OPSYS} != "SunOS"
+.if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
+CONFIGURE_ARGS+=       --disable-pam
+SPECIAL_PERMS+=                libexec/mate-screensaver-dialog ${SETUID_ROOT_PERMS}
+.else
 DEPENDS+=              pam-pwauth_suid-[0-9]*:../../security/pam-pwauth_suid
 INSTALLATION_DIRS+=    ${PREFIX}/share/examples/pam.d
 



Home | Main Index | Thread Index | Old Index