ports/91907: [PATCH] x11/xlockmore: fix broken pam support
Tobias Roth
ports at fsck.ch
Tue Jan 17 14:50:05 UTC 2006
>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:
More information about the freebsd-ports-bugs
mailing list