From owner-freebsd-ruby@FreeBSD.ORG Thu Oct 30 10:26:14 2014 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3D2A7308 for ; Thu, 30 Oct 2014 10:26:14 +0000 (UTC) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com [209.85.215.45]) (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 B21A1601 for ; Thu, 30 Oct 2014 10:26:13 +0000 (UTC) Received: by mail-la0-f45.google.com with SMTP id gm9so4078712lab.4 for ; Thu, 30 Oct 2014 03:26:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=XxgU9RywSIeMnvKQMAJEzTUZ+Z4ixXYJopjgA2FWSF8=; b=KJPbakyMNVI/4pSTB+rYGMOhuEdbNxVsfpjP7dXHcL+OIP9AjFrzAxHcFfELeHWvNW b4zAA6StntpGn+2AyCUzXVUQx/zEzjWoUnrPmi+8hAQlCKpr8VNP1pE5aOUPpJrSFXNK bVZKUYIEcXmwC/L/W9lbyBffp7OoYkP0OOBs8NwKPbmDoaOsSfrGDnJiJxT+l7eQpouB OozvFIHi9ZUtKVLTrfym4/itpwm2+cCF0pH/sJzSzm25975LBIGZTnHN1VROq95tMuMO hiwRI8IwY5hyHAttLawCjy5neFhXyJ9L93+jGny9B75sYpXc2k9e6xHzlFfpfd2GQRiJ GqLQ== X-Gm-Message-State: ALoCoQm2K/Ar3Y4m+OYkWaWlcX8xkUo8SH/4q96ux22m/EtbaePSTDsOmTzxlipnoWCAVaY70dK7 X-Received: by 10.153.7.170 with SMTP id dd10mr17872053lad.45.1414664770913; Thu, 30 Oct 2014 03:26:10 -0700 (PDT) Received: from [192.168.1.2] ([89.169.173.68]) by mx.google.com with ESMTPSA id oh4sm3031480lbc.19.2014.10.30.03.26.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Oct 2014 03:26:10 -0700 (PDT) Message-ID: <5452123A.40108@freebsd.org> Date: Thu, 30 Oct 2014 13:26:02 +0300 From: Andrey Chernov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Baptiste Daroussin Subject: Re: Can't build ruby20 on -current: it doesn't honor WITHOUT_CDDL=yes References: <54520ED5.6040907@freebsd.org> <20141030101739.GD63624@ivaldir.etoilebsd.net> In-Reply-To: <20141030101739.GD63624@ivaldir.etoilebsd.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RsDBmmt1rDmCQLXfvXVhob5jTV4cwKPLt" 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:26:14 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --RsDBmmt1rDmCQLXfvXVhob5jTV4cwKPLt Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable On 30.10.2014 13:17, Baptiste Daroussin wrote: > 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. >> >> 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 sho= uld > detect if the host has dtrace or note, probably a > .if exists(/usr/sbin/dtrace) > CONFIGURE_ARGS+=3D --enable-dtrace > .endif >=20 > Should do the trick (to be tested of course :) Yes, the thing =2Eif exists(/usr/sbin/dtrace) CONFIGURE_ARGS+=3D --enable-dtrace =2Eelse CONFIGURE_ARGS+=3D --disable-dtrace =2Eendif works (at least for no dtrace case) --=20 http://ache.vniz.net/ --RsDBmmt1rDmCQLXfvXVhob5jTV4cwKPLt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJUUhJBAAoJEKUckv0MjfbKUX8IAL5vcW2X/xmqNCrgpGUKALmw g9EsRMo2ft+dQrmH7nREinmNUAiNG0uQWG64OD1E7nRiil0Oyo412VXXpuLm4458 cS0ggeD549DtzE3L+dEmqi9B4f2eIeCea97ODrdcaE/YEr6fRTKcCxnbugleZoqB U4erQXIlvY6xMjvrtbUrmNeDJbm6CdeJsTdjsPsxKk4vlVY9gcY5uMqatKj3QWo7 s7iE6NqTh8ZrmW6cyJJ+se2V/Gy4SNFtMtXh38U6kCKOx7ZnZAuOMk5VGvipkXKq OAV0rpyrzouEnq0nz4E04+fWbB2fmMHkPSBGW/CJ/UXmt7wLPF1w77wYDPVgoGY= =FAiH -----END PGP SIGNATURE----- --RsDBmmt1rDmCQLXfvXVhob5jTV4cwKPLt--