From owner-freebsd-ports@freebsd.org Sat Sep 15 17:14:22 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 E557710AA981 for ; Sat, 15 Sep 2018 17:14:21 +0000 (UTC) (envelope-from kennedy.greg@gmail.com) Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5438E920F7 for ; Sat, 15 Sep 2018 17:14:21 +0000 (UTC) (envelope-from kennedy.greg@gmail.com) Received: by mail-lj1-x22a.google.com with SMTP id v26-v6so9926330ljj.3 for ; Sat, 15 Sep 2018 10:14:21 -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=Zj258UNKRRS1fXP8AItQi0NnJt56QejhQuyvgm5rWMs=; b=Jkg0oQ+9q66Ms/CRt6PJMxlKR+HBkuLczvThi39+QMvH2nYXHNaCk64YyUx52aw1uL 9lzRrh9vYrb4JG2X5cRoTAq3B8OW9Yl9k+TNiQNPreZKPvVkPA1ph83p+VcjVPE4JcW+ Ixls218SEcyNlZBo3zUAVXMl9oFgGfNqixeBELfC6+sPZ2iAWF28buy7bdIvxzpPckGI 9fVII+rqddqTMBmdiUFuDZlDE7XtgoCP0TfFz4VYKopzOMHcOO95D4QVvXIpDkdErFEd 5YntCV3iRCLcM/OVcPF2nUxhxYg7doFYSch0g9arruUvXh+432Oc7pgN4Wzo4kBDrPIa A2jA== 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=Zj258UNKRRS1fXP8AItQi0NnJt56QejhQuyvgm5rWMs=; b=BSSgIyItwj7ZZmU+o+iZyiWp4cCJ35JbJw6Qq5NXRUs7Aap9fujYpHRGh1yoB0twVS FC23949BYztK8pbmqVLBdqzNaTpEKTEEDMOyAimRWq4e0V4QFbdJew1r6qsG4/swlv/r 969tVN2XPwmkc1GLpAD2kJHlQd1AlHvL5qkAB2FXbcEtmMijq6EHEyingWzyTkFgLNOn cMzu8N1fkIp62PCD7VlRzbT5kaLBGQzNrPWMWoVDS5+6WYiXzbVrEEqtukuk/vTLO0qT YMWLGyvOtGHebsSlrn1ApWItmXfYykT4CubC6boXb0bW3mdE1WLC5WIPmZxb9Q+Xvkc+ NHAg== X-Gm-Message-State: APzg51Ct8PJJJjFVKDSHcxdqDFiMc8zMM64Dtj+ULswNKw5mVf+zHsT1 RK2SmQC6azAzPB8vaBwGde8B7KQLr11Olmb4ilXHPA== X-Google-Smtp-Source: ANB0Vdb7X4K58ecFU5Nll8QcDfektlmCuc5kvRfw7IrYlABhSU6KAflc1B+maXEIPIEwhiXrO68rFnMdSZX7og5xllU= X-Received: by 2002:a2e:82c9:: with SMTP id n9-v6mr3958371ljh.111.1537031659638; Sat, 15 Sep 2018 10:14:19 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a2e:4242:0:0:0:0:0 with HTTP; Sat, 15 Sep 2018 10:14:18 -0700 (PDT) From: Greg Kennedy Date: Sat, 15 Sep 2018 12:14:18 -0500 Message-ID: Subject: graphics/php*-gd requires X11 by default To: "freebsd-ports@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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: Sat, 15 Sep 2018 17:14:22 -0000 I sent an email to the maintainer of these ports (tz@freebsd.org) a few days ago, but didn't hear back - so I thought I'd raise the same question to the mailing list instead. --- Hey there! I was wondering something about the php-gd ports (specifically 7.2 but earlier as well). Looking at the config options I see this: X11=on: Enable XPM support With this option enabled php-gd can read XPixMap images, but in turn this pulls in a host of additional X11 dependencies. That's an awful lot for (usually) headless servers, especially for an image format that is (relatively) unused. I don't mind the option being there but because it is defaulted to "on", that means official FreeBSD packages are built with this support and all the dependencies. On my system I have to manually build this one port just to turn off the option. Would it be possible to modify the defaults for this port so that X11=off by default? Or, why is the default to "on"? (I have a guess, that this respects WITHOUT_X11 in /etc/make.conf, but that's useless for pre-built binary packages) -Greg