Hi.

Matthieu Herrb <matthieu.he...@laas.fr> writes:

> On Wed, Aug 29, 2012 at 06:58:35PM +0200, Jérémie Courrèges-Anglas wrote:
>> 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).
>
> Doesn't package on amd64. (error caused by GCCARCH expanding to "amd64"
> in PLIST while the port actually installs stuff in
> /usr/local/libexec/emacs/24.2/x86_64-unknown-openbsd5.2 

Damn... just out of curiosity, are there other architectures where
this kind of mismatch happen?

> you need to keep CONFIGURE_ARGS = ${GCCARCH} from emacs 23 port to fix
> that.

I was wondering whether --build=${GCCARCH} would be equivalent
(PLIST-wise), but I don't have any amd64 machine to test on right now.

> With that + nopie flags, it works so far. (default flavour)

Thanks a lot for your feedback.

(Keeping my previous questions below)

>> 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

Attachment: pgpIPfSbAPkU7.pgp
Description: PGP signature

Reply via email to