From owner-freebsd-ports@freebsd.org Tue Jul 31 00:29:05 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1EC281065FB0 for ; Tue, 31 Jul 2018 00:29:05 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A9E0B8EC65 for ; Tue, 31 Jul 2018 00:29:04 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-io0-x22c.google.com with SMTP id v26-v6so11485554iog.5 for ; Mon, 30 Jul 2018 17:29:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=HcWrGVxt6XuiB/CYOdpQUTzXcVICOMm0CqSTGLi75Ts=; b=nlt6LWf3yKqh2ImiMQ0otFtiY3mNHLnOv6MMrwIdJr7Zhf0/tt5XQLKAJOSCYVlagJ jl4srHOxPY6R8RaBfxpJIc9FA8cjVI8OrVH+E///E5IFzoc3VCFcjlUtHCX8ifnwQCKa Zih7gEgQxfIyerCZp8icbg4N9zHy5Dr2velQ0aFqdKbN+XpEqpp543fpmy2BRVQCustH 8IHz5J/XdLUtBYKg2uuvjMbsAAbNwwpItQGs9mjk9IjSjwDtGkF16ULSUI5ZuQ7i0M6+ T0z51mJcL7ll4KgBzQtcVqEPubuCUbE1BDwh3P3peapHxpV6FTtgS4BEAioGQ3SPoP/6 CEbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=HcWrGVxt6XuiB/CYOdpQUTzXcVICOMm0CqSTGLi75Ts=; b=erk5A/ZKBLFys4BTkwbTsGm8VdTtu0B1Y5NSqowq2Efa8iTpuTfTYzBgfqjDt1GSSV SZAoAMPaaIzbJR1b9HqiIU9uesafTBeDMH56qJWCtiz0VHOr86gtG3CihuyvlQhj16ay YHvI2VHuAxP4RHaAeKnZfnX76VW4uthEbMvNiVOhSH7s4w5MNhJ9nDLVSM5I7kfV0xj8 5ob+d2Ao9pzHYlbJQXkNhA4ZC/7lC9WGz1KKaTAH8gerlIqvBf+G8yC4dnyDdln0o+ry EVUEhmTq9hHXW/ceDzfL0JzZLSXjoR0c4oQ2KauojMg3l/laFKr5BsmYxgPx2XFheJ8N XXaw== X-Gm-Message-State: AOUpUlGAxouo+bNNhRcpAqYQKGmYK/l/5MlerEvT9asF/PRRIRwQHXib Y+ZhF+kOEA9wZFy2W/K2t2VZLdaQWaAkG/VBnVbA4A== X-Google-Smtp-Source: AAOMgpeX52mrnpp6zCK9wTvWv5Ss7QNOZREcUssGQicKjV8Q9E5qYW0Nw8VPzD3YHC4rFou3/DY230+US424LXfO56c= X-Received: by 2002:a6b:2c82:: with SMTP id s124-v6mr14747786ios.136.1532996943871; Mon, 30 Jul 2018 17:29:03 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:939c:0:0:0:0:0 with HTTP; Mon, 30 Jul 2018 17:29:03 -0700 (PDT) From: blubee blubeeme Date: Tue, 31 Jul 2018 08:29:03 +0800 Message-ID: Subject: building openjdk without alsa dependency To: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2018 00:29:05 -0000 I would like to build openjdk7 without the asound lib, I already removed ALSA from my kernel so the build fails but I am not writing Java applications that needs sound. I made a few changes to just not build the ALSA parts and the port builds properly. I had to edit the patch-bsd and created a new patch to remove building ALSA sound parts. Would it be possible to have the java team add a knob to the USE_JAVA in bsd.java.mk so that I can use this version with other ports? patch-jdk_make_common_Sanity.gmk : https://pastebin.com/cXej8LES patch-bsd : https://pastebin.com/E9xHTkKH Best, Owen