From 04fa2dac1fc9c1755ef13406eda2895b75e57aa7 Mon Sep 17 00:00:00 2001 From: hasso Date: Fri, 5 Jun 2009 07:08:42 +0000 Subject: Make it build on DragonFly. --- games/ufoai/distinfo | 3 ++- games/ufoai/patches/patch-aa | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 games/ufoai/patches/patch-aa diff --git a/games/ufoai/distinfo b/games/ufoai/distinfo index 00dcfa1706c..5d5c2f4c75d 100644 --- a/games/ufoai/distinfo +++ b/games/ufoai/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/09/09 12:46:36 kefren Exp $ +$NetBSD: distinfo,v 1.2 2009/06/05 07:08:42 hasso Exp $ SHA1 (ufoai-2.2.1-data.tar) = eb071333478bd6860179e12d8655301980f87d60 RMD160 (ufoai-2.2.1-data.tar) = af91dd473f59c73e705181759059bd37ba215f62 @@ -9,3 +9,4 @@ Size (ufoai-2.2.1-mappack.tar.bz2) = 72880186 bytes SHA1 (ufoai-2.2.1-source.tar.bz2) = 6ad1b8c357fdbbe9a31839b3bf8de46ad17a40eb RMD160 (ufoai-2.2.1-source.tar.bz2) = 980405a5d38bcbb5ae2cea4e25c54374c7dd8e99 Size (ufoai-2.2.1-source.tar.bz2) = 7640531 bytes +SHA1 (patch-aa) = 2b196e8d94a1848b42212f32c90a259e56440382 diff --git a/games/ufoai/patches/patch-aa b/games/ufoai/patches/patch-aa new file mode 100644 index 00000000000..7244e2b6259 --- /dev/null +++ b/games/ufoai/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1 2009/06/05 07:08:42 hasso Exp $ + +--- configure.orig 2009-06-05 03:03:17 +0300 ++++ configure 2009-06-05 03:04:44 +0300 +@@ -2131,6 +2131,10 @@ elif test `echo $target_os | sed "s/\(fr + then + TARGET_OS=freebsd + ++elif test `echo $target_os | sed "s/\(dragonfly\).*/\1/"` = "dragonfly" ++then ++ TARGET_OS=freebsd ++ + elif test `echo $target_os | sed "s/\(netbsd\).*/\1/"` = "netbsd" + then + TARGET_OS=netbsd -- cgit v1.2.3