From 27a7ea97c714c091efd4442b38a88a7cfbb79beb Mon Sep 17 00:00:00 2001 From: tdb Date: Tue, 17 Jan 2006 20:51:23 +0000 Subject: - BAD_PAM option now selectable using configure, rather than directly editing config.h. PR: 91907 Submitted by: Tobias Roth --- x11/xlockmore/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'x11') diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile index f664922eb739..88ec8c058210 100644 --- a/x11/xlockmore/Makefile +++ b/x11/xlockmore/Makefile @@ -7,6 +7,7 @@ PORTNAME= xlockmore PORTVERSION= 5.21 +PORTREVISION= 1 CATEGORIES?= x11 MASTER_SITES= ftp://ftp.tux.org/pub/tux/bagleyd/xlockmore/ \ http://www.tux.org/~bagleyd/latest/ @@ -62,8 +63,8 @@ CONFIGURE_ARGS+= --without-mesa --without-opengl 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 +110,6 @@ post-configure: .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 -- cgit