aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-04 21:33:22 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-04 21:33:22 +0000
commit58f8660487fab1a3e118da87de702072e0437988 (patch)
tree10a6aca0d2ce7755c7eb41fa489ff5777ccea82b /x11
parentd69a343aeca95c5946d4e2d841f70a0dd0692350 (diff)
downloadports-58f8660487fab1a3e118da87de702072e0437988.tar.gz
ports-58f8660487fab1a3e118da87de702072e0437988.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/rxvt/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/x11/rxvt/Makefile b/x11/rxvt/Makefile
index 33d34180ceeb..a3d04b8e4da3 100644
--- a/x11/rxvt/Makefile
+++ b/x11/rxvt/Makefile
@@ -30,7 +30,8 @@ XTERM_DESC= Build with Xterm scrollbar
CONFIGURE_ARGS= --enable-ttygid \
--with-xpm --enable-xpm-background \
--with-xpm-includes=${LOCALBASE}/include/X11 \
- --with-xpm-library=${LOCALBASE}/lib
+ --with-xpm-library=${LOCALBASE}/lib \
+ --disable-utmp --disable-wtmp # fails to build with new utmpx
PLIST_FILES= bin/rxvt man/man1/${PORTNAME}.1.gz
BIG5_CONFIGURE_ON= --enable-big5
@@ -48,19 +49,10 @@ XGETDEFAULT_CONFIGURE_ON= --enable-xgetdefault
XIM_CONFIGURE_ON= --enable-xim
XTERM_CONFIGURE_ON= --enable-xterm-scroll
-.include <bsd.port.pre.mk>
-
-# fails to build with new utmpx
-.if ${OSVERSION} > 900007
-CONFIGURE_ARGS+= --disable-utmp --disable-wtmp
-.else
-CONFIGURE_ARGS+= --enable-utmp --enable-wtmp
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|getpt()|posix_openpt(0)|' ${WRKSRC}/configure
post-install:
@${CHMOD} 4711 ${STAGEDIR}${PREFIX}/bin/rxvt
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>