[MacPorts] #36502: emacs-app: hardcoded build path
MacPorts
noreply at macports.org
Sat Oct 6 18:38:49 PDT 2012
#36502: emacs-app: hardcoded build path
------------------------------------+--------------------------------
Reporter: mojca.miklavec.lists@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: emacs-app
------------------------------------+--------------------------------
When compiling gnuplot I run across the problem that I can reproduce as
follows. Take a file {{{dot.el}}} with the following contents:
{{{
(setq load-path (append (list ".") load-path)
byte-compile-verbose nil
byte-compile-warnings nil)
(require 'font-lock)
(defun hilit-repaint-command (foo))
}}}
and execute the following:
{{{
ln -s /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs /tmp/myemacs
/tmp/myemacs -batch -q -no-site-file -l dot.el
}}}
On my computer this fails with:
{{{
Warning: arch-dependent data dir
(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_aqua_emacs-app/emacs-
app/work/emacs-24.2/nextstep/Emacs.app/Contents/MacOS//libexec/emacs/24.2/x86_64
-apple-darwin11.4.0/) does not exist.
Warning: arch-independent data dir
(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_aqua_emacs-app/emacs-
app/work/emacs-24.2/nextstep/Emacs.app/Contents/Resources/share/emacs/24.2/etc/)
does not exist.
Error: charsets directory not found:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_aqua_emacs-app/emacs-
app/work/emacs-24.2/nextstep/Emacs.app/Contents/Resources/share/emacs/24.2/etc/charsets
Emacs will not function correctly without the character map files.
Please check your installation!
}}}
When linking against {{{/opt/local/bin/emacs}}} I don't have that problem.
--
Ticket URL: <https://trac.macports.org/ticket/36502>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list