aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authortdb <tdb@FreeBSD.org>2006-01-18 04:51:23 +0800
committertdb <tdb@FreeBSD.org>2006-01-18 04:51:23 +0800
commit27a7ea97c714c091efd4442b38a88a7cfbb79beb (patch)
tree23e711445fc43357f4007e91ef2bae756d6d61c3 /x11
parentbb0ecccb6cf4e269ae4b9ec42f8f51cedaa0a795 (diff)
downloadfreebsd-ports-gnome-27a7ea97c714c091efd4442b38a88a7cfbb79beb.tar.gz
freebsd-ports-gnome-27a7ea97c714c091efd4442b38a88a7cfbb79beb.tar.zst
freebsd-ports-gnome-27a7ea97c714c091efd4442b38a88a7cfbb79beb.zip
- BAD_PAM option now selectable using configure, rather than directly
editing config.h. PR: 91907 Submitted by: Tobias Roth <ports@fsck.ch>
Diffstat (limited to 'x11')
-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