From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_PASS,T_DKIM_INVALID, T_RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 32951209FD for ; Sat, 3 Jun 2017 14:45:27 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 3BA6712075C; Sat, 3 Jun 2017 23:45:25 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id 6E83B120755 for ; Sat, 3 Jun 2017 23:45:22 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=O3DDh6KIDaBiM2Zv4mKEFJz2EX0=; b=lYMOw6aKfnL7ZS7ZmQ R3MiYwROUB2xRKC4v5GG5BDYH8hgjz1MOH7iDpqY/VgLPs/znbEigISexjTGmDeR wDaC42FnL5EnVueKNXOo1h5/L6NT0++ftFnZKuXVf2dtqRqykHHtO/VsyVH69O3I pLqzQF6H2Qhg0T5Q7FPDiS4Zk= Received: by filter0882p1mdw1.sendgrid.net with SMTP id filter0882p1mdw1-24448-5932CB7D-18 2017-06-03 14:45:17.886306711 +0000 UTC Received: from herokuapp.com (ec2-54-167-220-180.compute-1.amazonaws.com [54.167.220.180]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id HyluD2UrQ_SPhvaB9sGS_g for ; Sat, 03 Jun 2017 14:45:17.907 +0000 (UTC) Date: Sat, 03 Jun 2017 14:45:17 +0000 From: arnoldw@chammy.info To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 56593 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 13631 X-Redmine-Issue-Author: arnoldwald X-Redmine-Sender: arnoldwald X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS4sTVGHk1jNqJnNNUY6kRattdfP4rOT7Bkhp+ T+QC4YEr66HM0+MImlvsXyWFgYkVweplssLQZSpMHahA3xmqY/XIfJYekaEqMiqXsQNeAhNCM3Us0P tNcI5DeXdRd4/+vtDabsjkwVng0uPsrNhcGXmnChqYH0o2VtsttztaTI5A== X-ML-Name: ruby-core X-Mail-Count: 81563 Subject: [ruby-core:81563] [Ruby trunk Bug#13631] Cannot disable site and vendor directories X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #13631 has been reported by arnoldwald (arnold w). ---------------------------------------- Bug #13631: Cannot disable site and vendor directories https://bugs.ruby-lang.org/issues/13631 * Author: arnoldwald (arnold w) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: 2.4.1 * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- (Related to bug #12392?) mkconfig.rb deletes directory settings passed to configure if they are set to "no". Perhaps verconf.h.tmpl should check to see if a setting is missing instead of if it's set to "no"? This patch corrects the problem for me: ~~~ 24c24 < % if C["sitedir"] == "no" --- > % if !C["sitedir"] 30c30 < % if C["vendordir"] == "no" --- > % if !C["vendordir"] ~~~ -- https://bugs.ruby-lang.org/