emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OpenBSD build failure


From: Alfred M. Szmidt
Subject: OpenBSD build failure
Date: Wed, 22 Nov 2006 13:20:18 +0100 (CET)

The build failure that I reported in the beginning of November wasn't
fixed (probobly due me not testing the patch).  I have no tested it,
and emacs builds fine on OpenBSD with it.  It follows Richards
suggestion to set LD_SWITCH_X_DEFAULT instead of LD_SWITCH_SYSTEM.
Could someone apply it, please?

2006-11-02  Alfred M. Szmidt  <address@hidden>  (tiny change)

        * s/openbsd.h (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and
        /usr/pkg/lib from the library search path.
        (LD_SWITCH_X_DEFAULT): New macro.

Index: openbsd.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/s/openbsd.h,v
retrieving revision 1.8
diff -u -p -r1.8 src/s/openbsd.h
*** src/s/openbsd.h     30 Oct 2006 23:05:35 -0000      1.8
--- src/s/openbsd.h     2 Nov 2006 14:05:03 -0000
***************
*** 23,33 ****
  
  /*  Han Boetes <address@hidden> says this
      is necessary,  otherwise Emacs dumps core on elf systems.  */
! #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z -L/usr/pkg/lib 
-L/usr/local/lib
  
  #else
  
! #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -L/usr/pkg/lib -L/usr/local/lib
  
  #endif
  
--- 24,40 ----
  
  /*  Han Boetes <address@hidden> says this
      is necessary,  otherwise Emacs dumps core on elf systems.  */
! #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z
! 
! /* The version of gcc on OpenBSD doesn't search /usr/local/lib by
!    default.  */
! #define LD_SWITCH_X_DEFAULT -L/usr/local/lib
  
  #else
  
! #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp
! 
! #define LD_SWITCH_X_DEFAULT -L/usr/local/lib
  
  #endif
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]