pkgsrc/devel/ogre/patches/patch-aa
2009-09-01 16:53:40 +00:00

73 lines
2.4 KiB
Text

$NetBSD: patch-aa,v 1.2 2009/09/01 16:53:40 hasso Exp $
--- configure.orig 2009-08-31 16:44:00 +0300
+++ configure 2009-08-31 16:45:14 +0300
@@ -25739,11 +25739,11 @@ fi
rm -f OgreMain/src/OgreConfigDialog.lo OgreMain/src/OgreErrorDialog.lo
# Prefer win32, then Xt. gtk is being phased out and must be explicitly specified.
- if test "x$with_gui" == "xauto" && test "x$OGRE_PLATFORM" == "xWIN32"; then
+ if test "x$with_gui" = "xauto" && test "x$OGRE_PLATFORM" = "xWIN32"; then
with_gui=win32
fi
- if test "x$with_gui" == "xgtk"; then
+ if test "x$with_gui" = "xgtk"; then
pkg_failed=no
{ echo "$as_me:$LINENO: checking for GTK" >&5
@@ -25825,15 +25825,15 @@ echo "${ECHO_T}yes" >&6; }
fi
fi
- if test "x$with_gui" == "xauto"; then
+ if test "x$with_gui" = "xauto"; then
with_gui=Xt
fi
- if test "x$with_gui" == "xwin32"; then
+ if test "x$with_gui" = "xwin32"; then
OGRE_GUI=WIN32
- elif test "x$with_gui" == "xgtk"; then
+ elif test "x$with_gui" = "xgtk"; then
OGRE_GUI=gtk
- elif test "x$with_gui" == "xXt"; then
+ elif test "x$with_gui" = "xXt"; then
OGRE_GUI=GLX
PLATFORM_LIBS="$PLATFORM_LIBS -lXt -lSM -lICE"
else
@@ -26708,14 +26708,14 @@ else
with_allocator=ned
fi
- if test "x$with_allocator" == "xstd"; then
+ if test "x$with_allocator" = "xstd"; then
cat >>confdefs.h <<\_ACEOF
#define OGRE_MEMORY_ALLOCATOR 1
_ACEOF
fi
- if test "x$with_allocator" == "xned"; then
+ if test "x$with_allocator" = "xned"; then
cat >>confdefs.h <<\_ACEOF
#define OGRE_MEMORY_ALLOCATOR 2
@@ -29360,7 +29360,7 @@ fi
ft_detected=yes
-test "x$no_ft" == "xyes" && ft_detected=no
+test "x$no_ft" = "xyes" && ft_detected=no
echo "--------=== Configuration summary ===--------"
echo " Target platform : $OGRE_PLATFORM"
@@ -29374,7 +29374,7 @@ echo " Use FreeType
echo " Use FreeImage : $build_freeimage"
echo " Use DevIL : $build_il"
echo " Build OGRE demos : $build_ogre_demos"
-test "x$build_ogre_demos" == "xyes" && \
+test "x$build_ogre_demos" = "xyes" && \
echo " Build CEGUI demos : $build_cegui_sample"
echo " Build the OpenEXR plugin : $build_exr"
echo " Build the Cg plugin : $build_cg"