diff options
author | Tim Bishop <tdb@FreeBSD.org> | 2006-01-17 20:51:23 +0000 |
---|---|---|
committer | Tim Bishop <tdb@FreeBSD.org> | 2006-01-17 20:51:23 +0000 |
commit | a1f2f1c53b921b81b80c96b75e08feaf0b1e5f46 (patch) | |
tree | 22d35a29cfc12cd3897b6f33fdaaf956723771b8 /x11/xlockmore | |
parent | Move databases/myodbc -> databases/mysql-connector-odbc (diff) |
- BAD_PAM option now selectable using configure, rather than directly
editing config.h.
PR: 91907
Submitted by: Tobias Roth <ports@fsck.ch>
Notes
Notes:
svn path=/head/; revision=153761
Diffstat (limited to 'x11/xlockmore')
-rw-r--r-- | x11/xlockmore/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
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 |