[BACK]Return to patch-configure CVS log [TXT][DIR] Up to [local] / ports / games / ufoai / patches

File: [local] / ports / games / ufoai / patches / Attic / patch-configure (download)

Revision 1.2, Fri Oct 30 22:04:12 2009 UTC (14 years, 8 months ago) by yason
Branch: MAIN
Changes since 1.1: +7 -39 lines

don't be so cruel with darwin

$OpenBSD$
--- configure.orig	Sat Oct 31 00:48:54 2009
+++ configure	Sat Oct 31 00:50:27 2009
@@ -2143,6 +2143,13 @@ elif test `echo $target_os | sed "s/\(solaris\).*/\1/"
 then
 	TARGET_OS=solaris
 
+elif test `echo $target_os | sed "s/\(openbsd\).*/\1/"` = "openbsd"
+then
+	TARGET_OS=openbsd
+
+	CFLAGS="$CFLAGS"
+	LDFLAGS="$LDFLAGS"
+
 elif test `echo $target_os | sed "s/\(darwin\).*/\1/"` = "darwin"
 then
 	TARGET_OS=darwin