aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>2010-01-15 19:54:42 +0800
committergj <gj@FreeBSD.org>2010-01-15 19:54:42 +0800
commit2b8049bfb80fa142c4d44ae81329ea8caa547b97 (patch)
tree4f6571c0cb5bad0e5617a32f3ddcdb33f705da52
parent6c97b419de0f2c792df9eb67577d5b66df1514dc (diff)
downloadfreebsd-ports-gnome-2b8049bfb80fa142c4d44ae81329ea8caa547b97.tar.gz
freebsd-ports-gnome-2b8049bfb80fa142c4d44ae81329ea8caa547b97.tar.zst
freebsd-ports-gnome-2b8049bfb80fa142c4d44ae81329ea8caa547b97.zip
Allow this to compile after the switch from utmp to utmpx in HEAD.
-rw-r--r--x11/mrxvt/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/mrxvt/Makefile b/x11/mrxvt/Makefile
index 56ae041ac06e..0ff12f219fb4 100644
--- a/x11/mrxvt/Makefile
+++ b/x11/mrxvt/Makefile
@@ -23,6 +23,12 @@ CONFLICTS= mrxvt-0.5.*
GNU_CONFIGURE= yes
USE_XORG= x11
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 900007
+CONFIGURE_ARGS+= --disable-utmp --disable-wtmp
+.endif
+
.if defined(WITH_JAPANESE)
CONFIGURE_ARGS+= --enable-xim --enable-cjk --with-encoding=eucj
.endif # WITH_JAPANESE
@@ -60,4 +66,4 @@ post-patch:
s/install-docDATA //' ${WRKSRC}/doc/Makefile.in
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>