summaryrefslogtreecommitdiff
path: root/emulators/twin/patches/patch-ap
blob: de4f52a682d3b83a1026baa7a202cfb97ddcd6cb (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-ap,v 1.1 2006/02/17 19:25:24 wiz Exp $

--- configure.orig	2001-01-14 08:25:13.000000000 +0000
+++ configure
@@ -830,6 +830,14 @@ case "$host" in
 	TARGET=freebsd
 	;;
 
+   i386-*-dragonfly* )
+	TARGET=freebsd
+	;;
+
+   *netbsd* )
+	TARGET=netbsd
+	;;
+
    i*86-*-linux* )
 	TARGET=linux
 	;;
@@ -2849,6 +2857,11 @@ EOF
 	# egcs still broken on ppc
 	TWIN_CFLAGS=-g
 	;;
+
+   *netbsd* | *dragonfly* | *freebsd*)
+	LIBTWIN_LDFLAGS="$LDFLAGS $LIBTWIN_LDFLAGS"
+	DLL_LDFLAGS="$LDFLAGS $DLL_LDFLAGS"
+	;;
 esac
 
 if test -n "$GCC"