From f649434cac4f4b1e111ff7117e5ead1f0f31613b Mon Sep 17 00:00:00 2001 From: Lars Engels Date: Tue, 21 Jun 2011 18:21:03 +0000 Subject: [PATCH] - Proper fix for utmpx [1] - Disable no longer needed setuid bit - Remove no longer needed CPPFLAGS and LIBS - Bump PORTREVISION Fixed by: ed --- x11/mrxvt-devel/Makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/x11/mrxvt-devel/Makefile b/x11/mrxvt-devel/Makefile index ea1a67bdc1e2..52140a9fa251 100644 --- a/x11/mrxvt-devel/Makefile +++ b/x11/mrxvt-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= mrxvt-devel PORTVERSION= 0.5.4 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= x11 MASTER_SITES= SF/materm/mrxvt%20source/${PORTVERSION} DISTNAME= mrxvt-${PORTVERSION} @@ -42,8 +42,11 @@ OPTIONS= XFT "Enable Xft support for fonts" Off \ .include -.if ${OSVERSION} >= 900007 -CONFIGURE_ARGS+= --disable-lastlog --disable-wtmp +CONFIGURE_ARGS+= --enable-utempter +.if ${OSVERSION} >= 900004 +CONFIGURE_ARGS+= --disable-lastlog +.else +LIB_DEPENDS+= utempter.0:${PORTSDIR}/sysutils/libutempter .endif .if defined(WITH_JAPANESE) @@ -121,9 +124,6 @@ CONFIGURE_ARGS+= --with-atab-extra=${EXTRA_ATAB_HEIGHT:M[0-9]*} CONFIGURE_ARGS+= --with-tab-radius=${TAB_RADIUS:M[0-9]*} .endif -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ - LIBS="${LIBS} -L${LOCALBASE}/lib" - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/mrxvt ${PREFIX}/bin ${MKDIR} ${PREFIX}/share/pixmaps @@ -147,7 +147,4 @@ do-install: .endif @${CAT} ${PKGMESSAGE} -post-install: - ${CHMOD} 4511 ${PREFIX}/bin/mrxvt - .include