aboutsummaryrefslogtreecommitdiff
path: root/x11/rxvt-devel/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-05-09 10:06:04 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-05-09 10:06:04 +0000
commitc40a93cf472e76f4e55c96004d206b6781b558b2 (patch)
tree46cbc61ef92bde7631a89794d818e50ea963fb33 /x11/rxvt-devel/Makefile
parent1f6ce3cbb21810f462b84a947d020aec790c1f3b (diff)
downloadports-c40a93cf472e76f4e55c96004d206b6781b558b2.tar.gz
ports-c40a93cf472e76f4e55c96004d206b6781b558b2.zip
Notes
Diffstat (limited to 'x11/rxvt-devel/Makefile')
-rw-r--r--x11/rxvt-devel/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/x11/rxvt-devel/Makefile b/x11/rxvt-devel/Makefile
index 3e61c83b1906..76ea1b927add 100644
--- a/x11/rxvt-devel/Makefile
+++ b/x11/rxvt-devel/Makefile
@@ -39,7 +39,7 @@ OPTIONS= 256_COLOR "Build with 256-color support" off \
XIM "Build with XIM support" off \
XTERM "Build with Xterm scrollbar" off
-CONFIGURE_ARGS= --enable-utmp --enable-wtmp --enable-languages \
+CONFIGURE_ARGS= --enable-utmp --enable-lastlog \
--with-xpm --enable-xpm-background --enable-shared \
--enable-mousewheel --disable-languages
USE_LDCONFIG= yes
@@ -48,8 +48,12 @@ MAN1= rxvt.1
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 900007
-BROKEN= fails to build with new utmpx
+.if ${OSVERSION} >= 900007
+CONFIGURE_ARGS+= --disable-wtmp
+EXTRA_PATCHES+= ${FILESDIR}/utmpx_patch-src::logging.c
+.else
+CONFIGURE_ARGS+= --enable-wtmp
+EXTRA_PATCHES+= ${FILESDIR}/utmp_patch-src::logging.c
.endif
# enable 256 color