From owner-freebsd-ruby@FreeBSD.ORG Thu Oct 30 10:17:45 2014 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 86AD1FA0; Thu, 30 Oct 2014 10:17:45 +0000 (UTC) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C601733C; Thu, 30 Oct 2014 10:17:44 +0000 (UTC) Received: by mail-wi0-f170.google.com with SMTP id q5so721515wiv.3 for ; Thu, 30 Oct 2014 03:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=nCfuy6Dt9VnhjZkySg/VAb+eTJUoR8u4KdtJgGdcAHI=; b=u5HNC4y+Ji04TRJ2cKguO4iBG3UR60E5accgYK2qaxMS7T1+CFSY+u6tUz+4Jyr5+M 7EJ4o7wlSGmm8tQ8G8TVi7IweFEUv+2w8t2LcR1+8ouIiSDMWz6CtEg2P5TF9RN5MFxi yb90hVxyo5N9Km07D41ENE1h9PIIZKhZMDYgzHyVuNONuVQY5QdHxOBuBGkQyQA/7SG/ yhjYX7iOaIysILcOJ2oa9REXW4fT5z9e7pGNR7cw+5PY/C74Gbz8LtQ9L4ilVWFjwwAl FeHRnl/xs5YXK9iIeHQMnTlZNjyTdsl2hjivb/e7UGg9bLihi8b5mA+tVmhd0MhRjunN XMLA== X-Received: by 10.180.73.103 with SMTP id k7mr42571999wiv.83.1414664263049; Thu, 30 Oct 2014 03:17:43 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id q9sm21685770wix.6.2014.10.30.03.17.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Oct 2014 03:17:42 -0700 (PDT) Sender: Baptiste Daroussin Date: Thu, 30 Oct 2014 11:17:40 +0100 From: Baptiste Daroussin To: Andrey Chernov Subject: Re: Can't build ruby20 on -current: it doesn't honor WITHOUT_CDDL=yes Message-ID: <20141030101739.GD63624@ivaldir.etoilebsd.net> References: <54520ED5.6040907@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OaZoDhBhXzo6bW1J" Content-Disposition: inline In-Reply-To: <54520ED5.6040907@freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: ports , ruby@FreeBSD.org X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 10:17:45 -0000 --OaZoDhBhXzo6bW1J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 30, 2014 at 01:11:33PM +0300, Andrey Chernov wrote: > Hi. > I disable zfs and dtrace on my machine using WITHOUT_CDDL=3Dyes in > /etc/src.conf > ryby20 port throw this error: > ... > checking for valgrind/memcheck.h... no > checking for strip... strip > configure: error: dtrace(1) is missing > =3D=3D=3D> Script "configure" failed unexpectedly. >=20 > I see you have sophisticated check depending on OS version for > CONFIGURE_ARGS+=3D --enable-dtrace > IMHO, it should be replaced to test dtrace binary presence instead. >=20 To be previse the port should not care about WITHOUT_CDDL :) but it should detect if the host has dtrace or note, probably a =2Eif exists(/usr/sbin/dtrace) CONFIGURE_ARGS+=3D --enable-dtrace =2Eendif Should do the trick (to be tested of course :) regards, Bapt --OaZoDhBhXzo6bW1J Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlRSEEMACgkQ8kTtMUmk6ExEmwCeMS1m9Wks4CXCOK0pzQGOa18a FM4An1KIHg74tSIh6/jZdLys8uTUObJH =t2Il -----END PGP SIGNATURE----- --OaZoDhBhXzo6bW1J--