diff options
-rw-r--r-- | x11/xterm/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/x11/xterm/Makefile b/x11/xterm/Makefile index e555040d4615..e653e65c45e6 100644 --- a/x11/xterm/Makefile +++ b/x11/xterm/Makefile @@ -7,6 +7,7 @@ PORTNAME= xterm PORTVERSION= 251 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= ftp://invisible-island.net/xterm/ \ http://voodoo.bawue.com/download/ @@ -16,7 +17,6 @@ MAINTAINER= krion@FreeBSD.org COMMENT= Terminal emulator for the X Window System BUILD_DEPENDS= luit:${PORTSDIR}/x11/luit -LIB_DEPENDS= utempter.0:${PORTSDIR}/sysutils/libutempter USE_XORG= xaw xft GNU_CONFIGURE= yes @@ -34,6 +34,12 @@ CONFIGURE_ARGS+= --enable-256-color MAN1= resize.1 koi8rxterm.1 uxterm.1 xterm.1 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 900004 +LIB_DEPENDS= utempter.0:${PORTSDIR}/sysutils/libutempter +.endif + post-install: @${CHMOD} 4711 ${PREFIX}/bin/xterm .if !defined(WITHOUT_WIDE_CHARS) @@ -54,4 +60,4 @@ post-install: @${ECHO_MSG} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |