summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-06-23 15:05:02 +0000
committerjperkin <jperkin@pkgsrc.org>2015-06-23 15:05:02 +0000
commitd3fd055fc1bda7080126069521866cbc11383512 (patch)
treebb935791bdef87c620ccaf128813ed442436d4eb /misc
parentddab54b801ee6cc35c2deba4301702dce866530c (diff)
downloadpkgsrc-d3fd055fc1bda7080126069521866cbc11383512.tar.gz
Apply build change from MacPorts to fix open(1) behaviour from within a
tmux session on Darwin. Noticed by Cesar Crusius in joyent/pkgsrc#246. Bump PKGREVISION.
Diffstat (limited to 'misc')
-rw-r--r--misc/tmux/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/tmux/Makefile b/misc/tmux/Makefile
index e77812bc9ec..8160f438448 100644
--- a/misc/tmux/Makefile
+++ b/misc/tmux/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.28 2015/05/16 20:27:49 ryoon Exp $
+# $NetBSD: Makefile,v 1.29 2015/06/23 15:05:02 jperkin Exp $
DISTNAME= tmux-2.0
+PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tmux/}
@@ -19,6 +20,11 @@ USE_TERMINFO= yes
BUILDLINK_TRANSFORM+= opt:-D_XPG4_2:-D_XPG6
.endif
+# https://trac.macports.org/changeset/127986
+.if !empty(MACHINE_PLATFORM:MDarwin-1[0-9]*)
+CPPFLAGS+= -D__DARWIN_VERS_1050=0
+.endif
+
.include "../../devel/libevent/buildlink3.mk"
BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.10
.include "../../mk/terminfo.buildlink3.mk"