aboutsummaryrefslogtreecommitdiff
path: root/x11/xlockmore
diff options
context:
space:
mode:
authorTim Bishop <tdb@FreeBSD.org>2006-01-17 20:51:23 +0000
committerTim Bishop <tdb@FreeBSD.org>2006-01-17 20:51:23 +0000
commita1f2f1c53b921b81b80c96b75e08feaf0b1e5f46 (patch)
tree22d35a29cfc12cd3897b6f33fdaaf956723771b8 /x11/xlockmore
parent48636a33db8f12a3aeb79dcd6b70ad1fffd7b9a0 (diff)
downloadports-a1f2f1c53b921b81b80c96b75e08feaf0b1e5f46.tar.gz
ports-a1f2f1c53b921b81b80c96b75e08feaf0b1e5f46.zip
Notes
Diffstat (limited to 'x11/xlockmore')
-rw-r--r--x11/xlockmore/Makefile8
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