summaryrefslogtreecommitdiff
path: root/editors/emacs24/patches/patch-aa
blob: a5717d73fe05b19cce3f18e2b0c5d9299d28114c (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
$NetBSD: patch-aa,v 1.2 2012/08/10 10:08:14 marino Exp $

Add DragonFly

--- configure.in.orig	2012-06-01 06:17:13.000000000 +0000
+++ configure.in
@@ -469,6 +469,14 @@ case "${canonical}" in
       vax-*)       machine=vax ;;
     esac
   ;;
+  ## DragonFly ports
+  *-*-dragonfly*)
+    opsys=dragonfly
+    case "${canonical}" in
+      i[3456]86-*-dragonfly*)     machine=intel386 ;;
+      amd64-*-dragonfly*|x86_64-*-dragonfly*) machine=amdx86-64 ;;
+    esac
+  ;;
 
   ## OpenBSD ports
   *-*-openbsd* )
@@ -998,6 +1006,9 @@ case $opsys in
     LIB_MATH=
     START_FILES='pre-crt0.o'
     ;;
+  dragonfly )
+    LIB_STANDARD=-lc
+    ;;
   freebsd )
     LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o $(CRT_DIR)/crtn.o'
     START_FILES='pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o $(CRT_DIR)/crtbegin.o'