From owner-freebsd-ports@FreeBSD.ORG Wed May 21 18:25:55 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 970D4266 for ; Wed, 21 May 2014 18:25:55 +0000 (UTC) Received: from mail-oa0-x22e.google.com (mail-oa0-x22e.google.com [IPv6:2607:f8b0:4003:c02::22e]) (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 5FD0921D9 for ; Wed, 21 May 2014 18:25:54 +0000 (UTC) Received: by mail-oa0-f46.google.com with SMTP id i4so2717914oah.5 for ; Wed, 21 May 2014 11:25:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=khera.org; s=google11; h=mime-version:date:message-id:subject:from:to:content-type; bh=/g/d5B2Enf9cs62LBNM7Qnp7RFfz2sG5kZ6yL3C6aSs=; b=Dype6EwpOEmK1LJ7K6zWPlohlLXFThCu7ihS9U6bvvAKUE8vaCal/7td390wu0r2zu PSllbF1bxnO/Kjvy1rwOTON+KgaQmKsCXc/uCMWCLb6JtUelHWitc9sQlGwISQyR6sje gisIQIOh/SKelkKrpm43ylmPavnXM13yNE5bI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=/g/d5B2Enf9cs62LBNM7Qnp7RFfz2sG5kZ6yL3C6aSs=; b=cq3sbBQPqwkbGQipevJzk3aB5IOqOvw0OzD7rfwC2j0Ay5lDmzIknROAHzt6a38Dm8 WNOt7cVt8K9M/U0EKDX5BBAj2wwxd2a7W3ojXxf9F3pprC3Q8WiP522FThGt29+Xt3aT 2EQoBs4UUojy3rcR1MLLh4Q0zOD2HQ/WRO6mtiBy1JzQrjPys7cfeYGsOV7jyBGjM+Qe N4fHHHFPt1t09GO2eQAVxdtMl3bH5zHzIXnCKAUCiHX9FELP8xcnopVWpRqQpsPVD2QN OwEdiQIWhkT/f+xIZaudS81vAGWMWFJLE/AfjQDdd/iwHqtasivEsVbeVaH2/rMksC4R 2Hsg== X-Gm-Message-State: ALoCoQlUnUShuiySqPtLy58NlSBpo2E/RVsiTyRfbyPHR8vSNQG6NcqhvjmA01az7MbJ5bkcO8Us MIME-Version: 1.0 X-Received: by 10.182.22.111 with SMTP id c15mr48023092obf.32.1400696753878; Wed, 21 May 2014 11:25:53 -0700 (PDT) Received: by 10.76.151.134 with HTTP; Wed, 21 May 2014 11:25:53 -0700 (PDT) Date: Wed, 21 May 2014 14:25:53 -0400 Message-ID: Subject: 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: Wed, 21 May 2014 18:25:55 -0000 All of my freebsd boxes are headless, and I build all ports without X11. To accomplish this, I specify in make.conf the following: WITHOUT_GNOME=yes WITHOUT_X11=yes OPTIONS_UNSET=X11 GUI I have to specify both WITHOUT_X11 and OPTIONS_UNSET since I have found some ports to not honor OPTIONS_UNSET yet. So now I'm moving from individually building ports on each server to using poudriere and pkgng to build packages customized for my environment. This is where I run into problems... One of the packages I need to build is textproc/markdown-mode.el. This port specifies USE_EMACS in the Makefile. When I build this port on a system which has emacs-nox11 installed, all is fine. WhenI try to build this port inside poudriere, it wants to build emacs24 as a dependency. Thus, the package for markdown-mode.el will install emacs instead of using emacs-nox11. Is there some way to convince markdown-mode.el to depend on emacs-nox11 instead when building the packages via poudriere? I don't even see how to explicitly state the dependency outside of poudriere. Thanks!