From owner-freebsd-ports@FreeBSD.ORG Fri May 23 00:55:36 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 76E4E357 for ; Fri, 23 May 2014 00:55:36 +0000 (UTC) Received: from mail-ob0-x229.google.com (mail-ob0-x229.google.com [IPv6:2607:f8b0:4003:c01::229]) (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 3D5222D63 for ; Fri, 23 May 2014 00:55:35 +0000 (UTC) Received: by mail-ob0-f169.google.com with SMTP id vb8so4682327obc.14 for ; Thu, 22 May 2014 17:55:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=khera.org; s=google11; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=aZsTMo8sUx7oR5f4ASMY53SBVmssDedpSNymDRs6Llo=; b=gG4JVEo17honenExGJ0c9uOBNDROWv0XIjiz1NDJuB3U2DzQJxiS10N4w6M4Yd646Y eJYh/yj4hbmeQzlxjf3vDR2gwtTCL18ArGBMpadSjXwsavcREny1wRV8MrCzIRHQWeeG LG75jLMivXpxwhbKMkFQo1FiP86xKEYqjOxdE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=aZsTMo8sUx7oR5f4ASMY53SBVmssDedpSNymDRs6Llo=; b=WIIbRp2PSFLWipc3ZFAVtA0qg/pUDL8oD7t/Hi2GVn+VCV8wtyhsOMcWkdm5rUyE35 ybQbl6AEalvy/JMdShv/d8dcqadjgqIECkoNT3m8oPjOiqvB3F5UaZBDnOYV546VOv+Z GXY/wAdkWu0LSXxJz0JS8w7cpeNhL07v8hj1eaBArRNrEhlG2svZEloak8LExqAP8na4 JrHUJjkHG48nk2nPdihomNzFAWXa6xqEjuMR7qq7bv/O7LbX9X0XA12aWPBYHa0XvOEj mEVz2gCc9W5F+FoJil5/QyBSVO4istNT21gehcX2726+hPvyEfAGqwJIzZfPt9QbEKrE jeUA== X-Gm-Message-State: ALoCoQmqRA6l6sLja1U7b63PQksZDYWT2Sol8Pshjr758AEhEkoZQqVjwDNhT6iHIXLSwF0fH+4X MIME-Version: 1.0 X-Received: by 10.60.54.228 with SMTP id m4mr1151818oep.29.1400806534992; Thu, 22 May 2014 17:55:34 -0700 (PDT) Received: by 10.76.151.134 with HTTP; Thu, 22 May 2014 17:55:34 -0700 (PDT) In-Reply-To: <44ha4hy3te.fsf@lowell-desk.lan> References: <44ha4hy3te.fsf@lowell-desk.lan> Date: Thu, 22 May 2014 20:55:34 -0400 Message-ID: Subject: Re: bsd.emacs.mk does not detect non-GUI, non-X11 options From: Vick Khera To: FreeBSD Ports List Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2014 00:55:36 -0000 On Thu, May 22, 2014 at 4:08 PM, Lowell Gilbert wrote: > I'm not sure why that's a problem, because if you build editors/emacs > with the port option for X11 disabled, it should tell configure to use > the --without-x argument. The results should be identical to > emacs-nox11, except for not having the "-nox11" suffix in the package I think I threw in too many distracting details. What I'm saying here is that when I specify USE_EMACS in the Makefile for a port, it should detect if X11 is disabled and select the correct emacs-nox11 port as the dependency automatically. One precedent for this is the USE_GHOSTSCRIPT knob. If that is specified in a port, it automatically chooses the -nox11 slave port for ghostscript if WITHOUT_X11 is set. Since emacs has a -nox11 slave port, I believe it should work in the same way for consistency.