Hi. After the work made by Manuel Giraud (thanks!) on a port for Emacs 24.1, here's an update for the 24.2 version (bugfix release).
Here are the modifications I have made so far: - remove "CONFIGURE_ARGS = ${GCCARCH} --localstatedir=/var" Using raw "${GCCARCH}" instead of, for example, "--build=${GCCARCH}" is deprecated and spits out a warning. But the configure script can already find the appropriate value; yet I keep GCCARCH in SUBST_VARS since it is used to build the plist. "--localstatedir=/var" is already passed by gnu.port.mk - remove "AUTOCONF_VERSION = 2.68" since we don't have to re-run autoconf. - use "MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/build-aux" since the upstream uses AC_CONFIG_AUX_DIR(build-aux). I have a couple of questions, though: - why remove the dependency on ossaudio using --without-sound? I can't see how it is used by Emacs right now, but it doesn't seem harmful / expensive since libossaudio is in base. - I see that the emacs23 port has been patched to use --with-system-malloc and -fnopie. The Emacs 24 configure script doesn't have --with-system-malloc anymore. What should we do? I was thinking about asking upstream to make this available again, but forcing the use of the system malloc resulted in a build failure, in my previous tests... - make update-plist spits those warnings: make-plist: Bogus element outside of every prefix: /var/games/emacs make-plist: Bogus element outside of every prefix: /var/games/emacs/snake-scores make-plist: Bogus element outside of every prefix: /var/games/emacs/tetris-scores I wonder what to do about those files... touch them in post-install? I'm running the no_x11 flavor on i386 since a few hours, without a problem. The gtk3 and (default) gtk2 flavors are building fine, athena is on the way, but please do test them, as I don't use those flavors. Regards, -- Jérémie Courrèges-Anglas GPG fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494
emacs24.tgz
Description: Binary data
pgplrPSPpLbB0.pgp
Description: PGP signature