summaryrefslogtreecommitdiff
path: root/emulators/twin/patches/patch-ap
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/twin/patches/patch-ap')
-rw-r--r--emulators/twin/patches/patch-ap31
1 files changed, 31 insertions, 0 deletions
diff --git a/emulators/twin/patches/patch-ap b/emulators/twin/patches/patch-ap
new file mode 100644
index 00000000000..de4f52a682d
--- /dev/null
+++ b/emulators/twin/patches/patch-ap
@@ -0,0 +1,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"