summaryrefslogtreecommitdiff
path: root/editors/emacs-snapshot/patches/patch-ab
blob: c89a9464caccc22b6b54da82b99805835787e130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
$NetBSD: patch-ab,v 1.2 2009/06/07 20:12:06 hasso Exp $

--- configure.orig	2009-06-04 20:29:50 +0300
+++ configure	2009-06-07 21:41:16 +0300
@@ -1979,7 +1979,7 @@ archlibdir='${libexecdir}/emacs/${versio
 docdir='${datadir}/emacs/${version}/etc'
 gamedir='${localstatedir}/games/emacs'
 
-gameuser=games
+gameuser=${GAMEOWN}
 
 
 
@@ -2529,6 +2529,15 @@ case "${canonical}" in
     esac
   ;;
 
+  ## DragonFly ports
+  *-*-dragonfly*)
+    opsys=dragonfly
+    case "${canonical}" in
+      i[3456]86-*-dragonfly*)     machine=intel386 ;;
+      amd64-*-dragonfly*|x86_64-*-dragonfly*) machine=amdx86-64 ;;
+    esac
+  ;;
+
   ## FreeBSD kernel + glibc based userland
   *-*-kfreebsd*gnu* )
     opsys=gnu-kfreebsd
@@ -9605,9 +9614,9 @@ if test "${HAVE_NS}" = yes; then
   window_system=nextstep
   with_xft=no
   # set up packaging dirs
-  exec_prefix=${ns_appbindir}
-  libexecdir=${ns_appbindir}/libexec
   if test "${EN_NS_SELF_CONTAINED}" = yes; then
+     exec_prefix=${ns_appbindir}
+     libexecdir=${ns_appbindir}/libexec
      prefix=${ns_appresdir}
   fi
 fi