Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2006 15:40:26 +0100 (CET)
From:      Tobias Roth <ports@fsck.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/91907: [PATCH] x11/xlockmore: fix broken pam support
Message-ID:  <200601171440.k0HEeQWL068896@secure.socket.ch>
Resent-Message-ID: <200601171450.k0HEo3W3009480@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         91907
>Category:       ports
>Synopsis:       [PATCH] x11/xlockmore: fix broken pam support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 17 14:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Tobias Roth
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD factory.fsck.ch 6.0-STABLE FreeBSD 6.0-STABLE #6: Mon Jan 16 21:08:26 CET 2006
>Description:
In the latest version, the BAD_PAM stuff needed for FreeBSD was moved
from defines to configure options. Reflect these changes in the port.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- xlockmore-5.21.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/xlockmore/Makefile,v
retrieving revision 1.100
diff -u -u -r1.100 Makefile
--- Makefile	11 Jan 2006 11:58:44 -0000	1.100
+++ Makefile	17 Jan 2006 14:38:13 -0000
@@ -62,8 +62,8 @@
 CONFIGURE_ARGS+=	--enable-nice-only
 .endif
 
-.if defined(WITH_BAD_PAM) && !defined(WITH_PAM)
-WITH_PAM=	yes
+.if defined(WITH_BAD_PAM)
+CONFIGURE_ARGS+=	--enable-bad-pam
 .endif
 
 .if defined(WITH_PAM)
@@ -109,9 +109,6 @@
 .if ${X_WINDOW_SYSTEM:L} != xfree86-3
 	${REINPLACE_CMD} -e 's/-lXdpms//g' ${WRKSRC}/modes/Makefile
 .endif
-.if defined(WITH_BAD_PAM)
-	 ${REINPLACE_CMD} -e 's|/\* #define BAD_PAM \*/|#define BAD_PAM|g' ${WRKSRC}/config.h
-.endif
 
 PLIST_FILES=	bin/xlock lib/X11/app-defaults/XLock
 
--- xlockmore-5.21.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601171440.k0HEeQWL068896>