From owner-freebsd-ruby@FreeBSD.ORG Thu Jun 7 19:40:01 2012 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84021106566B; Thu, 7 Jun 2012 19:40:01 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (cl-414.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:19d::2]) by mx1.freebsd.org (Postfix) with ESMTP id 2A3318FC15; Thu, 7 Jun 2012 19:40:01 +0000 (UTC) Received: from orion.swifttest.com (unknown [74.3.97.52]) by mx0.deglitch.com (Postfix) with ESMTPA id 078578FC53; Thu, 7 Jun 2012 23:39:58 +0400 (MSK) Received: from orion.swifttest.com (localhost [127.0.0.1]) by orion.swifttest.com (Postfix) with SMTP id D9A7A5C50; Thu, 7 Jun 2012 12:36:41 -0700 (PDT) Date: Thu, 7 Jun 2012 12:36:41 -0700 From: Stanislav Sedov To: Mel Flynn Message-Id: <20120607123641.7c080c67.stas@FreeBSD.org> In-Reply-To: <4FD0F9E3.1030501@acsalaska.net> References: <4FC96D45.8080904@FreeBSD.org> <4FD0F9E3.1030501@acsalaska.net> Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, Steve Wills , ruby@freebsd.org Subject: Re: Ruby 1.9 as default X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2012 19:40:01 -0000 On Thu, 07 Jun 2012 20:58:43 +0200 Mel Flynn mentioned: > > Given issues described with swig 1.x earlier on this list, you may want > to investigate if swig 1.x should be removed/patched/whatever before > this sweep. Swig 1.x actually works fine with ruby 1.9, I'm using it quite regularly. SWIG just generate the C source, it does not provide you with include path. It is a responsibility of the application to find out what the correct path are. You can look at my m4 macro as an example of how to do it properly: https://github.com/stass/autoconf-macros/blob/master/ax_ruby_ext.m4 -- Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments