Opened 13 years ago

Last modified 12 years ago

#32137 closed defect

auctex: emacs_app variant leaves --with-auto-dir set — at Version 2

Reported by: vishketan@… Owned by: reilles@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: dports@…
Port: auctex

Description (last modified by ryandesign (Ryan Carsten Schmidt))

In the auctex port we have

configure.args  --with-lispdir=${prefix}/share/emacs/site-lisp \
	                --with-auto-dir=${prefix}/share/emacs/site-lisp/auctex/auto

but when variant emacs_app is selected the --with-lispdir is overwritten with

  configure.args-append   --with-lispdir=/Applications/MacPorts/Emacs.app/Contents/Resources/lisp

but the --with-auto-dir is left intact and therefore the installation creates a spurious

${prefix}/share/emacs/site-lisp/auctex/auto

directory. For sake of consistency we need a

  configure.args-append   --with-autodir=/Applications/MacPorts/Emacs.app/Contents/Resources/lisp/auctex/auto

Change History (2)

comment:1 Changed 13 years ago by drkp (Dan Ports)

Cc: dports@… added
Owner: changed from macports-tickets@… to reilles@…
Port: auctex added
Summary: auctex emacs_app variant auto-dirauctex: emacs_app variant leaves --with-auto-dir set

Why do we even need to change the location of the lispdir in the first place? emacs-app includes ${prefix}/share/emacs/site-lisp in its load path.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Please remember to use WikiFormatting so your posts are legible.

/Applications/MacPorts should not be hardcoded in the Portfile; it should use ${applications_dir} instead.

Note: See TracTickets for help on using tickets.