openbsd-ports/games/ufoai/base/patches/patch-src_common_common_h
ajacoutot 782bc94360 Import ufoai-2.3.1.
"UFO: Alien Invasion" is a squad-based tactical strategy game in the
tradition of the old X-COM PC games, but with a twist. This game
combines military realism with hard science-fiction and the weirdness
of an alien invasion. The carefully constructed turn-based system gives
you pin-point control of your squad while maintaining a sense of pace
and danger.

prodded by oga@
from Antti Harri and Kirill Bychkov (maintainer) with several tweaks from me
ok jasper@
2011-05-27 07:20:11 +00:00

26 lines
752 B
Plaintext

$OpenBSD: patch-src_common_common_h,v 1.1.1.1 2011/05/27 07:20:11 ajacoutot Exp $
--- src/common/common.h.orig Fri Jun 18 11:07:59 2010
+++ src/common/common.h Fri Jun 18 11:10:44 2010
@@ -48,8 +48,20 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston,
# define SHARED_EXT "so"
# endif
-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+#elif defined(__FreeBSD__)
# define BUILDSTRING_OS "FreeBSD"
+# ifndef SHARED_EXT
+# define SHARED_EXT "so"
+# endif
+
+#elif defined(__NetBSD__)
+# define BUILDSTRING_OS "NetBSD"
+# ifndef SHARED_EXT
+# define SHARED_EXT "so"
+# endif
+
+#elif defined(__OpenBSD__)
+# define BUILDSTRING_OS "OpenBSD"
# ifndef SHARED_EXT
# define SHARED_EXT "so"
# endif