Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2014 14:25:53 -0400
From:      Vick Khera <vivek@khera.org>
To:        FreeBSD Ports List <ports@freebsd.org>
Subject:   bsd.emacs.mk does not detect non-GUI, non-X11 options
Message-ID:  <CALd%2Bdces=ZbOMxabnnYyYryvSX1pdTffE0tTeCCG%2BWMwSSZReg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALd%2Bdces=ZbOMxabnnYyYryvSX1pdTffE0tTeCCG%2BWMwSSZReg>