aboutsummaryrefslogtreecommitdiff
path: root/sysutils/tmux
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2011-01-05 07:06:57 +0000
committerWen Heping <wen@FreeBSD.org>2011-01-05 07:06:57 +0000
commita28855ff8e0b9776b6571991d09cd179d9fba10a (patch)
tree0de758a8fdd222df195df3e6d38e029595813064 /sysutils/tmux
parent2ab751166a61954d170d179b858972f67664beda (diff)
downloadports-a28855ff8e0b9776b6571991d09cd179d9fba10a.tar.gz
ports-a28855ff8e0b9776b6571991d09cd179d9fba10a.zip
- Only apply the patch of configure on FreeBSD8 and 9
Submitted by: h.skuhra@gmail.com (via email)
Notes
Notes: svn path=/head/; revision=267408
Diffstat (limited to 'sysutils/tmux')
-rw-r--r--sysutils/tmux/Makefile5
-rw-r--r--sysutils/tmux/files/extra-patch-configure (renamed from sysutils/tmux/files/patch-configure)0
2 files changed, 5 insertions, 0 deletions
diff --git a/sysutils/tmux/Makefile b/sysutils/tmux/Makefile
index 2aedf4d4c61c..1d09f072e0b1 100644
--- a/sysutils/tmux/Makefile
+++ b/sysutils/tmux/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tmux
PORTVERSION= 1.4
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -30,6 +31,10 @@ CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 800000
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-configure
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
${WRKSRC}/Makefile
diff --git a/sysutils/tmux/files/patch-configure b/sysutils/tmux/files/extra-patch-configure
index 9cac18d8b58f..9cac18d8b58f 100644
--- a/sysutils/tmux/files/patch-configure
+++ b/sysutils/tmux/files/extra-patch-configure