From owner-freebsd-ports@FreeBSD.ORG Wed Mar 17 02:47:00 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58A49106573F for ; Wed, 17 Mar 2010 02:47:00 +0000 (UTC) (envelope-from wenheping@gmail.com) Received: from mail-pz0-f196.google.com (mail-pz0-f196.google.com [209.85.222.196]) by mx1.freebsd.org (Postfix) with ESMTP id 2BBC48FC13 for ; Wed, 17 Mar 2010 02:46:59 +0000 (UTC) Received: by pzk34 with SMTP id 34so435279pzk.3 for ; Tue, 16 Mar 2010 19:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=hZA5ida6sVlXdyrdkLEKyqzHmE6gswG8Jb3dPbveMZo=; b=vGnG68NFWK++CuwbUlxcanSVMMEES944a2sWjNTDTxsebe92A7LZKhWqo7AsLvVrgn 8BBBds7A76+JR9rKuWmdDr7WOWbY7oWNafxY2Pwz+UcERZ95VbJA+FM/9LyC6vGAYEys CuEHZEPsQZ03wG8uOePNPiiV0sC4tVPiWDDes= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=qcrBklYliM7SxYvjIxn/3hJKVezhX5uPHpR18Qg8oM/roxxYD2GYYC5pnwvrh61wqJ NpE4b/RR/jxh6NuJmH0ahh/D0VEtMuFpn1N4l9CCk2QKkVLkvzP3caOfKVcBZlGHZuCY EYRDaCEwu+86XQaAw0SV+RvJKMO0k6NWOGMbY= MIME-Version: 1.0 Received: by 10.142.201.18 with SMTP id y18mr95064wff.132.1268794019503; Tue, 16 Mar 2010 19:46:59 -0700 (PDT) In-Reply-To: <7be7a2801003161824ja00f67ar92ba71dacb9781ec@mail.gmail.com> References: <7be7a2801003151736m633f6503n81fab99617a6a9b4@mail.gmail.com> <20100316221624.GC3099@rail.eu.org> <7be7a2801003161730v6fc3b525q61563921ab1e86a8@mail.gmail.com> <4BA02904.4040807@barakmich.com> <7be7a2801003161824ja00f67ar92ba71dacb9781ec@mail.gmail.com> Date: Wed, 17 Mar 2010 10:46:59 +0800 Message-ID: <7be7a2801003161946t3d751984laf3d86e0631bf782@mail.gmail.com> From: wen heping To: erwan@rail.eu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: ports@freebsd.org Subject: Fwd: ports/144760: sysutils/tmux: shell not working in tmux any more X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 02:47:00 -0000 Hi, Would you test this patch ? If it works, I shall commit it. Regards, wen ---------- Forwarded message ---------- From: wen heping Date: Wed, Mar 17, 2010 at 9:24 AM Subject: Re: ports/144760: sysutils/tmux: shell not working in tmux any mor= e To: Barak Michener Thank your test. Would you test this one ? diff -urN tmux.orig/Makefile tmux/Makefile --- tmux.orig/Makefile =A02010-03-17 09:09:55.000000000 +0800 +++ tmux/Makefile =A0 =A0 =A0 2010-03-17 09:21:42.000000000 +0800 @@ -24,6 +24,11 @@ =A0PORTDOCS=3D =A0 =A0 =A0CHANGES FAQ NOTES =A0PORTEXAMPLES=3D =A0* +.include +.if ${OSVERSION} <=3D 703100 +EXTRA_PATCHES=3D ${FILESDIR}/extra-patch-configure +.endif + =A0post-patch: =A0 =A0 =A0 =A0@${REINPLACE_CMD} -e '/^#define HAVE_TREE_H/d' \ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0${WRKSRC}/configure @@ -45,4 +50,4 @@ =A0 =A0 =A0 =A0@${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} =A0.endif -.include +.include diff -urN tmux.orig/files/extra-patch-configure tmux/files/extra-patch-conf= igure --- tmux.orig/files/extra-patch-configure =A0 =A0 =A0 1970-01-01 08:00:00.000000000 +0 =A0 =A0 =A0 =A0 =A0 800 +++ tmux/files/extra-patch-configure =A0 =A02010-03-17 09:12:29.000000000 += 0800 @@ -0,0 +1,10 @@ +--- configure.orig =A0 =A0 2010-03-17 09:12:09.000000000 +0800 ++++ configure =A02010-03-17 09:11:28.000000000 +0800 +@@ -204,6 +204,7 @@ + =A0 =A0 FreeBSD|DragonFly) + =A0 =A0 =A0 cat <>$CONFIG_H + #define HAVE_ASPRINTF ++#define HAVE_BROKEN_KQUEUE + #define HAVE_BZERO + #define HAVE_DAEMON + #define HAVE_FGETLN On Wed, Mar 17, 2010 at 8:57 AM, Barak Michener wrote: > I tried your patch -- it didn't work. However, David's message helps: > > Looking inside the configure script for tmux in the source package, there= 's > a line for Darwin-based systems: > > #define HAVE_BROKEN_KQUEUE > > copying that line to the FreeBSD section and compiling makes tmux-1.2 wor= k > great :) > > This is my first email to the ports list, so I don't have much Makefile-f= oo. > The patch you gave me didn't work, but I think you're on the right track.= .. >