aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2011-01-05 15:06:57 +0800
committerwen <wen@FreeBSD.org>2011-01-05 15:06:57 +0800
commitf8246edecd882679036dfab61ca76d9942288155 (patch)
treebdb057364bc3196827dc9473065942d0a429cdbe
parent7d0a79d22aeaa230ae23e0468ec332dcac64af28 (diff)
downloadfreebsd-ports-gnome-f8246edecd882679036dfab61ca76d9942288155.tar.gz
freebsd-ports-gnome-f8246edecd882679036dfab61ca76d9942288155.tar.zst
freebsd-ports-gnome-f8246edecd882679036dfab61ca76d9942288155.zip
- Only apply the patch of configure on FreeBSD8 and 9
Submitted by: h.skuhra@gmail.com (via email)
-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