aboutsummaryrefslogtreecommitdiff
path: root/x11/mrxvt-devel
diff options
context:
space:
mode:
authorGary Jennejohn <gj@FreeBSD.org>2010-01-21 10:12:51 +0000
committerGary Jennejohn <gj@FreeBSD.org>2010-01-21 10:12:51 +0000
commit192f876388885e092870521d08529f9c3dc87796 (patch)
treea17ec874d8528d8f0264786f9a81ec3d0e07d839 /x11/mrxvt-devel
parent6d6fcf14833694402f11d8c10e6d5a71cf14748b (diff)
downloadports-192f876388885e092870521d08529f9c3dc87796.tar.gz
ports-192f876388885e092870521d08529f9c3dc87796.zip
Modify Makefile to use the proper CONFIGURE_ARGS to support utmpx.
Make the binary setuid, otherwise it cannot log to utmp/utx/wtmp. Bump PORTREVISION. Approved-by: lem@ (maintainer, per e-mail)
Notes
Notes: svn path=/head/; revision=248263
Diffstat (limited to 'x11/mrxvt-devel')
-rw-r--r--x11/mrxvt-devel/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/mrxvt-devel/Makefile b/x11/mrxvt-devel/Makefile
index d7a8ba1dc1ed..b5ab4db85d90 100644
--- a/x11/mrxvt-devel/Makefile
+++ b/x11/mrxvt-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mrxvt-devel
PORTVERSION= 0.5.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= SF/materm/mrxvt%20source/${PORTVERSION}
DISTNAME= mrxvt-${PORTVERSION}
@@ -37,6 +37,10 @@ OPTIONS= XFT "Enable Xft support for fonts" Off \
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 900007
+CONFIGURE_ARGS+= --disable-lastlog --disable-wtmp
+.endif
+
.if defined(WITH_JAPANESE)
CONFIGURE_ARGS+= --enable-xim --enable-cjk --with-encoding=eucj
.endif
@@ -138,4 +142,7 @@ do-install:
.endif
@${CAT} ${PKGMESSAGE}
+post-install:
+ ${CHMOD} 4511 ${PREFIX}/bin/mrxvt
+
.include <bsd.port.post.mk>