aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-12-07 05:57:08 +0800
committered <ed@FreeBSD.org>2009-12-07 05:57:08 +0800
commit7b45e42c1f3d937475e90ebfbf1b227bacdcbde3 (patch)
tree4276be6b7f3cf19c60ada047406fa71269787d0a /x11
parentb516899c80ff456a72ca1a113109eaf1376b6d70 (diff)
downloadfreebsd-ports-gnome-7b45e42c1f3d937475e90ebfbf1b227bacdcbde3.tar.gz
freebsd-ports-gnome-7b45e42c1f3d937475e90ebfbf1b227bacdcbde3.tar.zst
freebsd-ports-gnome-7b45e42c1f3d937475e90ebfbf1b227bacdcbde3.zip
Don't depend on libutempter.
xterm can just use our own version of it that's part of the base system. Approved by: krion
Diffstat (limited to 'x11')
-rw-r--r--x11/xterm/Makefile10
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>