diff options
| -rw-r--r-- | sysutils/tmux/Makefile | 5 | ||||
| -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 |
