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)
This commit is contained in:
Gary Jennejohn 2010-01-21 10:12:51 +00:00
parent 6d6fcf1483
commit 192f876388
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248263

View File

@ -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>