1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: package/*/xemacs/xemacs.conf
5 # Copyright (C) 2004 - 2021 The T2 SDE Project
6 # Copyright (C) 1998 - 2004 ROCK Linux Project
8 # More information can be found in the files COPYING and README.
10 # This program is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; version 2 of the License. A copy of the
13 # GNU General Public License can be found in the file COPYING.
14 # --- T2-COPYRIGHT-NOTE-END ---
16 # gcc-4.3, x86-64 segfaults, -ReneR
17 var_append GCC_WRAPPER_APPEND ' ' "-fno-strict-aliasing"
19 # if the xemacs package is not selected / installed create a symlink
20 pkginstalled xemacs || hook_add postmake 5 'ln -sfv $root$bindir/xemacs{-beta,}'
23 # on some systems the defaults segfault
24 *|alpha|arm*|powerpc64)
25 var_append confopt ' ' '--with-system-malloc'
26 var_append confopt ' ' '--disable-kkcc --disable-mc-alloc'
28 # on some other systems the reverse segfaults: sparc?
31 var_append confopt ' ' '--enable-mule' # MUlti Language Environment
32 var_append confopt ' ' '--with-xft=all'
34 hook_add premake 3 "rm -v info/*.info"
35 hook_add postmake 3 "mkdir -pv $root/$prefix/lib/xemacs/mule-packages"
37 var_append confopt ' ' "--enable-database=no" # FIXME really?
38 #var_append confopt ' ' "--with-gtk --with-widgets=gtk --with-menubars=gtk --with-scrollbars=gtk --with-dialogs=gtk"
39 var_append confopt ' ' "--with-athena=xaw"
40 var_append confopt ' ' "--with-msw=no" # needed due to wine
41 var_append confopt ' ' "--with-dynamic"
43 var_append INSTALL_WRAPPER_FILTER "|" "sed 's,man1/xemacs\.1$,man1/xemacs-beta.1,'"